Command Injection Vulnerability in Kubernetes Headlamp

Check todayFull system takeover with local access.
7.8HIGH

CVE-2025-53542

Key Information:

Vendor

Kubernetes-sigs

Status
Headlamp
CVE ID
CVE ID:
CVE-2025-53542
Vendor
CVE Published:
10 July 2025

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Why it's rated "Check today"
  • Its CVSS severity is high (7.8).

What is CVE-2025-53542?

A command injection vulnerability has been identified in Kubernetes Headlamp's macOS packaging workflow, specifically in the codeSign.js script. This flaw arises from improper handling of environment variables—${teamID}, ${entitlementsPath}, and ${config.app}—which are inadequately sanitized prior to being passed into shell commands. As a result, an attacker could exploit this vulnerability by injecting malicious input through these variables, leading to the execution of unintended commands on the system. The issue has been resolved in version 0.31.1.

Affected Version(s)

headlamp < 0.31.1

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Changed
.