CVE-2025-53542
published high CVSS 3.1 · 7.8Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kubernetes-sigs | — | headlamp< 0.31.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kubernetes-sigs | headlamp | < 0.31.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
4- https://advisory.zerodaysec.org/advisory/kubernetes-headlamp-code-signing
- https://github.com/kubernetes-sigs/headlamp/commit/5bc0a9dd87acdf1e04be14619acde687eefa35fb
- https://github.com/kubernetes-sigs/headlamp/pull/3377
- https://github.com/kubernetes-sigs/headlamp/security/advisories/GHSA-34rf-485x-g5h7
Provider assertions
2GitHub_M · cna
Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 653a918bad40966565488537976d490899a9e3fa979b086e8ab991e52d1a5764
- Ingested
- 23 Sep 2026, 08:52:40 UTC
- Source record
- Official CVE record