PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-73036 Bash-it CVE debrief

A terminal escape sequence injection vulnerability exists in Bash-it 3.2.0's barbuk theme, specifically in the Python virtualenv prompt segment. This vulnerability allows local attackers to inject arbitrary terminal control sequences by manipulating 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. As a result, injected OSC or CSI sequences are written to and interpreted by the terminal emulator on every prompt render.

Vendor
Bash-it
Product
Unknown
CVSS
MEDIUM 4.6
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-11
Original CVE updated
2026-09-24
Advisory published
2026-08-11
Advisory updated
2026-09-24

Who should care

Defenders responsible for Bash-it installations, especially in environments where local attackers may have access, should assess exposure and implement mitigations. This includes system administrators, security engineers, and developers using Bash-it.

Why it matters

CVE-2026-73036 is a medium-severity vulnerability in Bash-it 3.2.0's barbuk theme that allows local attackers to inject terminal escape sequences. Defenders should verify exposure, especially in multi-user environments, and implement compensating controls or mitigations as needed. The vulnerability requires local access and user interaction but can still pose a risk, particularly in environments where local attackers may have access to manipulate files.

  • Local attackers can inject arbitrary terminal control sequences, potentially leading to visual manipulation or disruption of terminal output.
  • Successful exploitation may allow attackers to deceive users or hide malicious activity.
  • The vulnerability requires local access and user interaction, limiting its impact but still posing a risk in multi-user environments.
  • Verification of Bash-it versions and exposure is necessary to determine the risk and implement appropriate mitigations.

Technical summary

The vulnerability exists in the barbuk theme of Bash-it 3.2.0. Local attackers can inject terminal control sequences by embedding escape sequences in the requires-python field of a pyproject.toml file. When a user navigates into a directory with a malicious pyproject.toml, the unfiltered field value is concatenated into PS1, causing injected sequences to be interpreted by the terminal emulator. This can lead to visual manipulation or disruption of terminal output, potentially allowing attackers to deceive users or hide malicious activity. Defenders should prioritize verifying the presence of this vulnerability in their systems, especially in environments where local attackers may have access to manipulate files

Defensive priority

Defenders should prioritize verifying the presence of this vulnerability in their systems, especially in environments where local attackers may have access to manipulate files. The priority is to assess exposure and implement compensating controls or mitigations as needed.

Recommended defensive actions

  • Verify the presence of Bash-it 3.2.0 in your environment and assess exposure to local attackers.
  • Review and restrict write access to pyproject.toml files in directories used by Bash-it.
  • Implement compensating controls, such as input validation or escaping, for terminal commands.
  • Monitor for suspicious activity or anomalies in terminal behavior.
  • Review Bash-it configurations and consider disabling the barbuk theme until a patch is applied.
  • Conduct regular security audits to identify and address potential vulnerabilities in Bash-it and other tools.
  • Track and prioritize patching of vulnerable Bash-it installations across the environment.

Evidence notes

The evidence provided includes details from the CVE Program record, NVD vulnerability detail, and source references from GitHub and Vulncheck. The CVE Program record and NVD detail provide official metadata and vulnerability assessments. Source references include GitHub repositories and a Vulncheck advisory, offering additional context and technical details about the vulnerability.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-73036 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-73036

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-73036 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-73036

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.