Bash-it 3.2.0 contains a terminal escape sequence injection vulnerability in the barbuk theme's Python virtualenv prompt segment that allows local… (CVE-2026-73036)
Bash-it version 3.2.0 has a terminal escape sequence injection vulnerability in the barbuk theme's Python virtualenv prompt segment. This flaw 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 enters a directory with a crafted pyproject.toml, the unfiltered field value is read and directly concatenated into the shell prompt without filtering control characters, causing the terminal emulator to interpret injected sequences on every prompt render. This vulnerability has a medium severity rating with a CVSS score of 4.4.
AI Analysis
Technical Summary
The vulnerability in Bash-it 3.2.0 arises from improper handling of the requires-python field in pyproject.toml files within the barbuk theme's Python virtualenv prompt segment. The field value is read using awk and concatenated directly into the PS1 prompt variable via __prompt-command without sanitizing control characters. This allows local attackers to embed terminal escape sequences (OSC or CSI) that get executed by the terminal emulator each time the prompt is rendered, leading to terminal escape sequence injection (CWE-150). The vulnerability requires local access and user interaction (prompt rendering) and impacts confidentiality and integrity with no impact on availability.
Potential Impact
Local attackers can inject arbitrary terminal control sequences by crafting the requires-python field in a pyproject.toml file. This can lead to unintended terminal behavior or potential information disclosure through terminal manipulation. The impact is limited to confidentiality and integrity with no availability impact. The attack requires the user to navigate into a directory containing the malicious file, triggering the prompt rendering with injected sequences.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid navigating into directories containing untrusted pyproject.toml files or disable the barbuk theme's Python virtualenv prompt segment to prevent injection of terminal escape sequences.
Bash-it 3.2.0 contains a terminal escape sequence injection vulnerability in the barbuk theme's Python virtualenv prompt segment that allows local… (CVE-2026-73036)
Description
Bash-it version 3.2.0 has a terminal escape sequence injection vulnerability in the barbuk theme's Python virtualenv prompt segment. This flaw 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 enters a directory with a crafted pyproject.toml, the unfiltered field value is read and directly concatenated into the shell prompt without filtering control characters, causing the terminal emulator to interpret injected sequences on every prompt render. This vulnerability has a medium severity rating with a CVSS score of 4.4.
CVSS v3.1
Score 4.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Bash-it 3.2.0 arises from improper handling of the requires-python field in pyproject.toml files within the barbuk theme's Python virtualenv prompt segment. The field value is read using awk and concatenated directly into the PS1 prompt variable via __prompt-command without sanitizing control characters. This allows local attackers to embed terminal escape sequences (OSC or CSI) that get executed by the terminal emulator each time the prompt is rendered, leading to terminal escape sequence injection (CWE-150). The vulnerability requires local access and user interaction (prompt rendering) and impacts confidentiality and integrity with no impact on availability.
Potential Impact
Local attackers can inject arbitrary terminal control sequences by crafting the requires-python field in a pyproject.toml file. This can lead to unintended terminal behavior or potential information disclosure through terminal manipulation. The impact is limited to confidentiality and integrity with no availability impact. The attack requires the user to navigate into a directory containing the malicious file, triggering the prompt rendering with injected sequences.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid navigating into directories containing untrusted pyproject.toml files or disable the barbuk theme's Python virtualenv prompt segment to prevent injection of terminal escape sequences.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jh23-4vmr-7f8q
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-73036"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a7c9b6fbf8831d539ce00eb
Added to database: 08/12/2026, 16:12:31 UTC
Last enriched: 08/12/2026, 17:23:57 UTC
Last updated: 08/13/2026, 00:41:14 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.