CVE-2026-12568: BBOT Arbitrary File Write Vulnerability

MODERATE
Advisory Identifier: GHSA-m54h-vhf9-3w3m
CVSS 6.5
CWE-125 CWE-73 CWE-22
Published
Advisory Summary

CVE-2026-12568 is a MODERATE (CVSS 6.5) arbitrary file write vulnerability (CWE-125: Out-of-bounds Read) affecting BBOT libraries in the PyPI ecosystem. The issue involves arbitrary file write in postman_download module. Remediation is available by upgrading affected packages to version 2.8.6.

CVE-2026-12568 at a Glance

CVE Identifier CVE-2026-12568
GHSA Identifier GHSA-m54h-vhf9-3w3m
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-125: Out-of-bounds Read
Affected Product BBOT
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-12568

To remediate this vulnerability, upgrade all affected BBOT dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

bbot fixed: 2.8.6
pip install bbot>=2.8.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show bbot

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-12568, inspect your installed packages using pip:

pip show bbot

Analyze the terminal output to locate any version of BBOT in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.8.6), your application is affected.

Note: The pip show bbot command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In BBOT, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The `postman_download` module uses the workspace `name` field from the Postman API to construct the local directory path without sanitization. If a malicious workspace has a name containing path traversal characters, pathlib resolves the path outside the intended output directory, allowing an attacker to write arbitrary files to the user's system.

CVE-2026-12568 Affected BBOT Versions

1 component(s)
Fixed Versions:
2.8.6
Product / Package Ecosystem Affected Versions Fixed Version
bbot
PyPI
≥ 2.1.0
< 2.8.6
2.8.6

References

Frequently Asked Questions

What is CVE-2026-12568?
CVE-2026-12568 is a security vulnerability in BBOT involving Arbitrary File Write in postman_download Module under CWE-125: Out-of-bounds Read.
Which BBOT versions are affected?
Affected versions include releases prior to 2.8.6 across affected packages: bbot.
What version fixes CVE-2026-12568?
Upgrading to 2.8.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bbot affected?
Yes, bbot is affected in releases prior to 2.8.6. Upgrade your dependency to 2.8.6 or later.
What is the CVSS score of CVE-2026-12568?
CVE-2026-12568 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-12568?
CVE-2026-12568 is classified under CWE-125: Out-of-bounds Read (The product reads data past the end, or before the beginning, of the intended buffer.).
How can I check PyPI dependencies for CVE-2026-12568?
Run the dependency tree command: 'pip show bbot'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m54h-vhf9-3w3m",
  "modified" : "2026-06-18T15:03:38Z",
  "published" : "2026-06-18T15:03:38Z",
  "aliases" : [ "CVE-2026-12568" ],
  "summary" : "BBOT: Arbitrary File Write in postman_download Module",
  "details" : "The `postman_download` module uses the workspace `name` field from the Postman API to construct the local directory path without sanitization. If a malicious workspace has a name containing path traversal characters, pathlib resolves the path outside the intended output directory, allowing an attacker to write arbitrary files to the user's system.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "bbot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.8.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.8.5"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-m54h-vhf9-3w3m"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-12568"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/commit/36bc20818"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/blacklanternsecurity/bbot"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-125", "CWE-22", "CWE-73" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-18T15:03:38Z",
    "nvd_published_at" : "2026-06-17T23:17:03Z"
  }
}