CVE-2025-53542 - CVE House
Back to Database
Status published High CVE-2025-53542

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

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-53542

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

kubernetes-sigs

View all reports →

Affected Software

headlamp
Vulnerable Versions:
< 0.31.1

Timeline

Official Publish: July 10th, 2025
Last Modified: July 10th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)