PT-2025-29128 · Headlamp · Headlamp

Odaysec

·

Published

2025-07-10

·

Updated

2025-07-15

·

CVE-2025-53542

CVSS v3.1

7.7

High

VectorAV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Headlamp versions prior to 0.31.1
Description: Headlamp is an extensible Kubernetes web UI. A command injection issue exists in the codeSign.js script used during the macOS packaging workflow. This is due to the improper use of the execSync() function with unsanitized input from environment variables. The variables ${teamID}, ${entitlementsPath}, and ${config.app} are dynamically derived and passed to shell commands without proper escaping or argument separation, potentially allowing command injection if these values contain malicious input.
Recommendations: Update to Headlamp version 0.31.1 or later.

Exploit

Fix

OS Command Injection

Argument Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-00283
CVE-2025-53542
GHSA-34RF-485X-G5H7

Affected Products

Headlamp