TROYANOSYVIRUS
Back to CVEs

CVE-2025-53542

HIGH
7.7

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.

CVE Details

CVSS v3.1 Score7.7
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityHIGH
Privileges RequiredNONE
User InteractionREQUIRED
Published7/10/2025
Last Modified7/15/2025
Sourcenvd
Honeypot Sightings0

Weaknesses (CWE)

CWE-78CWE-88

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.