CVE-2026-12567: BBOT Symlink-Following Arbitrary Write Vulnerability

LOW
Advisory Identifier: GHSA-rvp7-w75q-9fv2
CVSS 2.2
CWE-59 CWE-22
Published
Advisory Summary

CVE-2026-12567 is a LOW (CVSS 2.2) symlink-following arbitrary write vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting BBOT libraries in the PyPI ecosystem. The issue involves symlink-following arbitrary write via github_workflows module. Remediation is available by upgrading affected packages to version 2.8.5.

CVE-2026-12567 at a Glance

CVE Identifier CVE-2026-12567
GHSA Identifier GHSA-rvp7-w75q-9fv2
Severity LOW
CVSS v3.1 Base Score 2.2
CWE Classification CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected Product BBOT
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 2.2

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

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

How to Fix CVE-2026-12567

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.5
pip install bbot>=2.8.5
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-12567, 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.5), 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-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. 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 `github_workflows` module constructs local directory paths from user-controlled repository names without validating for symlinks. A local attacker sharing the scan directory can plant a symlink at the predictable output path, causing workflow data to be written to an attacker-chosen location.

CVE-2026-12567 Affected BBOT Versions

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

References

Frequently Asked Questions

What is CVE-2026-12567?
CVE-2026-12567 is a security vulnerability in BBOT involving Symlink-Following Arbitrary Write via github_workflows Module under CWE-59: Improper Link Resolution Before File Access ('Link Following').
Which BBOT versions are affected?
Affected versions include releases prior to 2.8.5 across affected packages: bbot.
What version fixes CVE-2026-12567?
Upgrading to 2.8.5 (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.5. Upgrade your dependency to 2.8.5 or later.
What is the CVSS score of CVE-2026-12567?
CVE-2026-12567 has a CVSS v3.1 base score of 2.2 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-12567?
CVE-2026-12567 is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following') (The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.).
How can I check PyPI dependencies for CVE-2026-12567?
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-rvp7-w75q-9fv2",
  "modified" : "2026-06-18T15:04:00Z",
  "published" : "2026-06-18T15:04:00Z",
  "aliases" : [ "CVE-2026-12567" ],
  "summary" : "BBOT: Symlink-Following Arbitrary Write via github_workflows Module",
  "details" : "The `github_workflows` module constructs local directory paths from user-controlled repository names without validating for symlinks. A local attacker sharing the scan directory can plant a symlink at the predictable output path, causing workflow data to be written to an attacker-chosen location.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "bbot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.8.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.8.4"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-rvp7-w75q-9fv2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-12567"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/commit/16d9c42b6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/blacklanternsecurity/bbot"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-59" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-18T15:04:00Z",
    "nvd_published_at" : "2026-06-17T23:17:03Z"
  }
}