Description
powerlevel10k fails to neutralize control characters in the package.json version field when rendering the package prompt segment. Attackers can inject raw escape bytes in the version string to emit arbitrary terminal control sequences on each prompt render when the shell enters affected directories.
Published: 2026-08-17
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

powerlevel10k does not sanitize control characters in the package.json version field when rendering the package prompt segment. This allows an attacker to embed raw escape bytes that become terminal control sequences every time the prompt is drawn. The resulting sequences can manipulate the terminal screen, change cursor position, hide or reveal text, or send other control instructions, which may subvert user interaction or conceal malicious output. The weakness is classified as CWE-150, related to the improper handling of control characters.

Affected Systems

The vulnerability appears in the romkatv:powerlevel10k prompt theme for the ZSH shell. It affects all releases that reference the package.json version string for prompt rendering; the precise version range is unspecified in the advisory, so any current or future release that has not applied the sanitization fix is impacted.

Risk and Exploitability

The CVSS base score is 4.8, placing the issue in the moderate range. EPSS data is not available and the vulnerability is not listed in CISA’s KEV catalog, indicating that widespread exploitation has not been reported. Attackers would need local access to modify the package.json file or to influence the prompt rendering environment, so the attack vector is most likely local. Once the malicious value is present, each prompt render emits the injected terminal control sequences, affecting the confidentiality and usability of the terminal session but not compromising kernel or system privileges.

Generated by OpenCVE AI on August 17, 2026 at 21:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade powerlevel10k to the latest version that includes the control‑character sanitization fix.
  • If an upgrade is not yet available, edit the package.json version field to remove any control characters or replace it with a plain numeric version.
  • As a temporary workaround, configure powerlevel10k or the ZSH prompt to use a custom, sanitized value for the package prompt segment instead of the package.json version string.

Generated by OpenCVE AI on August 17, 2026 at 21:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
Description powerlevel10k fails to neutralize control characters in the package.json version field when rendering the package prompt segment. Attackers can inject raw escape bytes in the version string to emit arbitrary terminal control sequences on each prompt render when the shell enters affected directories.
Title powerlevel10k Control Character Injection via package.json Version
Weaknesses CWE-150
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T20:36:08.150Z

Reserved: 2026-08-17T19:59:23.461Z

Link: CVE-2026-75483

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T21:16:57.930

Modified: 2026-08-17T21:16:57.930

Link: CVE-2026-75483

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T21:30:03Z

Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences