We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-53542

Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign



Description

Headlamp is an extensible Kubernetes web UI. A command injection vulnerability was discovered in the codeSign.js script used in the macOS packaging workflow of the Kubernetes Headlamp project. This issue arises due to the improper use of Node.js's execSync() function with unsanitized input derived from environment variables, which can be influenced by an attacker. The variables ${teamID}, ${entitlementsPath}, and ${config.app} are dynamically derived from the environment or application config and passed directly to the shell command without proper escaping or argument separation. This exposes the system to command injection if any of the values contain malicious input. This vulnerability is fixed in 0.31.1.

Reserved 2025-07-02 | Published 2025-07-10 | Updated 2025-07-10 | Assigner GitHub_M


HIGH: 7.8CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Problem types

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Product status

< 0.31.1
affected

References

github.com/...adlamp/security/advisories/GHSA-34rf-485x-g5h7

github.com/kubernetes-sigs/headlamp/pull/3377

github.com/...ommit/5bc0a9dd87acdf1e04be14619acde687eefa35fb

advisory.zerodaysec.org/.../kubernetes-headlamp-code-signing

cve.org (CVE-2025-53542)

nvd.nist.gov (CVE-2025-53542)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-53542

Support options

Helpdesk Chat, Email, Knowledgebase