CVE-2025-53542CWE-78CWE-88

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

High · published July 10, 2025

CVSS v3.1
7.8
EPSS
1%
Percentile
49.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00628 · 49.4th percentile
Weaknesses
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')
Published
2025-07-10T18:20Z
EPSS history
Timeline
  • 10 JUL 18:20Z
    Kubernetes Headlamp Allows Arbitrary Command Injection in macOS Process headlamp@codeSign
    cvelistv5