CVE-2025-53542: Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign
Vulnerability summary
CVE-2025-53542 is a high (CVSS 7.8) vulnerability in kubernetes-sigs headlamp. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 51.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-07-2025PublishedVulnerability first disclosed.
- 10-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.7HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.63% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-78Improper Neutralization of Special Elements used in an OS CommandThe product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
- CWE-88Improper Neutralization of Argument Delimiters in a CommandThe product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Kubernetes-sigs1 product
- headlamp< 0.31.1
1 vendor · 1 product
References
4 links- github.com/kubernetes-sigs/headlamp/security/advisories/GHSA-34rf-485x-g5h7X Refsource CONFIRM
- github.com/kubernetes-sigs/headlamp/pull/3377X Refsource MISC