CVE-2026-73036

Bash-it barbuk Theme 3.2.0 Terminal Escape Sequence Injection via pyproject.toml

Published Aug 11, 2026 CVSS 4.0 · 4.6 Medium EPSS < 1% KEV · Not listed
Description
Bash-it 3.2.0 contains a terminal escape sequence injection vulnerability in the barbuk theme's Python virtualenv prompt segment that allows local attackers to inject arbitrary terminal control sequences by embedding escape sequences in the requires-python field of a pyproject.toml file. When a user navigates into a directory containing a maliciously crafted pyproject.toml, the unfiltered field value is read via awk and concatenated directly into PS1 through __prompt-command without stripping control characters, causing injected OSC or CSI sequences to be written to and interpreted by the terminal emulator on every prompt render.

Analysis

AI-generated

Technical impact

The vulnerability permits a local attacker to insert arbitrary terminal control sequences into the requires‑python field of a pyproject.toml. When a user changes to a directory containing such a file, Bash‑it reads the field with awk, directly appends its content to the PS1 prompt via __prompt-command, and the terminal emulator interprets any OSC or CSI sequences embedded in that text. This can cause unintended terminal behaviour, message manipulation or temporary loss of prompt functionality.

Affected Systems

Bash‑it 3.2.0, particularly the barbuk theme’s virtualenv prompt component, is affected when a user navigates into a directory with a maliciously crafted pyproject.toml. No other versions or vendors are listed.

Risk and Exploitability

The CVSS base score of 4.6 denotes moderate severity, while the EPSS score of less than 1 % indicates a low likelihood of exploitation. The vulnerability is not present in CISA’s KEV catalog. Exploitation requires local access to a directory and a user who subsequently changes into that directory; there is no network vector. The impact is confined to the local session and can result in terminal manipulation or denial of normal prompt operation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Bash‑it to a patched version that sanitizes the requires‑python field used by the barbuk theme.
  • If a patch is not yet available, disable the barbuk theme’s virtualenv prompt segment or modify the Bash configuration to remove or escape the unfiltered field before it is added to PS1.
  • Avoid navigating into directories containing untrusted pyproject.toml files until a fix is released, and consider restricting local access to such directories for development environments.

Generated by OpenCVE AI on August 12, 2026 at 20:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Bash-it
Bash-it bash-it
Vendors & Products Bash-it
Bash-it bash-it
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Bash-it 3.2.0 contains a terminal escape sequence injection vulnerability in the barbuk theme's Python virtualenv prompt segment that allows local attackers to inject arbitrary terminal control sequences by embedding escape sequences in the requires-python field of a pyproject.toml file. When a user navigates into a directory containing a maliciously crafted pyproject.toml, the unfiltered field value is read via awk and concatenated directly into PS1 through __prompt-command without stripping control characters, causing injected OSC or CSI sequences to be written to and interpreted by the terminal emulator on every prompt render.
Title Bash-it barbuk Theme 3.2.0 Terminal Escape Sequence Injection via pyproject.toml
Weaknesses CWE-150
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:08 PM
Reserved
Aug 10, 2026, 6:48 PM
Status
Deferred
Published
Aug 11, 2026, 8:18 PM
Modified
Sep 24, 2026, 8:32 PM