PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-73036 Bash-it CVE debrief

A terminal escape sequence injection vulnerability exists in Bash-it version 3.2.0, specifically in the barbuk theme's Python virtualenv prompt segment. This vulnerability allows local attackers to inject arbitrary terminal control sequences by manipulating the requires-python field in a pyproject.toml file. When a user navigates into a directory containing a maliciously crafted pyproject.toml, the unfiltered field value is read and concatenated into PS1 without stripping control characters, leading to injected OSC or CSI sequences being 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-11-08
Advisory published
2026-08-11
Advisory updated
2026-11-08

Who should care

Local system administrators and users of Bash-it, especially those using version 3.2.0, should assess exposure and take necessary actions to mitigate potential risks. Defenders should prioritize verifying Bash-it installations and consider upgrading to patched versions if available.

Why it matters

CVE-2026-73036 is a medium-severity vulnerability in Bash-it version 3.2.0 that allows local attackers to inject terminal escape sequences via a manipulated pyproject.toml file. Defenders should verify installations, consider upgrades, and monitor for suspicious activity.

  • Local attackers can inject arbitrary terminal control sequences.
  • Potential for malicious terminal emulator behavior.
  • Need for verification of Bash-it installations and potential upgrades.
  • Possible impact on local system security and user experience.

Technical summary

The vulnerability exists in the barbuk theme's Python virtualenv prompt segment of Bash-it version 3.2.0. It allows local attackers to inject arbitrary terminal control sequences by embedding escape sequences in the requires-python field of a pyproject.toml file. The unfiltered field value is read via awk and concatenated directly into PS1 through __prompt-command without stripping control characters.

Defensive priority

Defenders should prioritize verifying Bash-it installations, especially version 3.2.0, and consider upgrading to patched versions if available. Local system administrators and users of Bash-it should assess exposure and take necessary actions to mitigate potential risks.

Recommended defensive actions

  • Verify Bash-it installations and assess exposure, especially for version 3.2.0
  • Consider upgrading to patched versions if available
  • Monitor local system logs for suspicious terminal activity
  • Implement additional security controls for local system access
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability is confirmed in Bash-it version 3.2.0. The barbuk theme's Python virtualenv prompt segment is affected. The requires-python field in pyproject.toml is used for exploitation. The issue is addressed in a patch commit.

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

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

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/73xxx/CVE-2026-73036.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Bash-it/bash-it

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Bash-it/bash-it/commit/fab8f57818f28bfc6f2a81f86a58981c4ea72e5a

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Bash-it/bash-it/issues/2396

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/Bash-it/bash-it/pull/2397

    Supplemental source - technical-description, patch

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/bash-it-barbuk-theme-terminal-escape-sequence-injection-via-pyproject-toml

    Supplemental source - third-party-advisory

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.