---
id: CVE-2026-73036
title: >-
  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 …
summary: >-
  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 …
severity: medium
cvss: 4.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-150
published: '2026-08-11'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:32:12.967'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73036'
references:
  - url: 'https://github.com/Bash-it/bash-it'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Bash-it/bash-it/commit/fab8f57818f28bfc6f2a81f86a58981c4ea72e5a
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Bash-it/bash-it/issues/2396'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Bash-it/bash-it/pull/2397'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/bash-it-barbuk-theme-terminal-escape-sequence-injection-via-pyproject-toml
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00177
epssPercentile: 0.06438
ingestedAt: '2026-09-24T20:51:40.196Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
