Skip to main content
← All vulnerabilities
CVE-2025-53542

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.31.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • kubernetes-sigs headlamp

    fixed in 0.31.1

References 4

GitHub · kubernetes-sigs/headlamp

advisory.zerodaysec.org