Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-73036
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:39 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 11 Aug 2026, 19:37 UTC

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.

osv:CVE-2026-73036
Complete source record
{
  "id": "73b8f69ab5a78fb9b0738b7d1d631f2b403c682d99cc88526f1f1b3d33076971",
  "url": "https://osv.dev/vulnerability/CVE-2026-73036",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bash-it barbuk Theme 3.2.0 Terminal Escape Sequence Injection via pyproject.toml",
    "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 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.",
    "evidence": "osv:CVE-2026-73036",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-73036",
      "aliases": [
        "CVE-2026-73036"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bash-it/bash-it",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fab8f57818f28bfc6f2a81f86a58981c4ea72e5a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fab8f57818f28bfc6f2a81f86a58981c4ea72e5a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.2.0",
            "v3.1.1",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.0",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73036.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.228439676Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73036.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-73036",
        "https://www.vulncheck.com/advisories/bash-it-barbuk-theme-terminal-escape-sequence-injection-via-pyproject-toml",
        "https://github.com/Bash-it/bash-it/issues/2396",
        "https://github.com/Bash-it/bash-it/commit/fab8f57818f28bfc6f2a81f86a58981c4ea72e5a",
        "https://github.com/Bash-it/bash-it",
        "https://github.com/Bash-it/bash-it/pull/2397"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-150"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73036.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-73036",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504813,
  "published_at": "2026-08-11T19:37:12.133+00:00"
}