CVE-2026-14966: Bbot BBOT's Symlink Guard Bypass Vulnerability

LOW
Advisory Identifier: GHSA-xpf3-p7gm-7756
CVSS 3.1
CWE-59 CWE-22
Published
Advisory Summary

CVE-2026-14966 is a LOW (CVSS 3.1) bbot's symlink guard bypass vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Bbot libraries in the PyPI ecosystem. The issue involves bbot's symlink guard bypass in unarchive module allows planting symlinks during extraction. Remediation is available by upgrading affected packages to version 3.0.0.

CVE-2026-14966 at a Glance

CVE Identifier CVE-2026-14966
GHSA Identifier GHSA-xpf3-p7gm-7756
Severity LOW
CVSS v3.1 Base Score 3.1
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: 3.1

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

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
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-14966

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: 3.0.0
pip install bbot>=3.0.0
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-14966, 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 3.0.0), 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

BBOT's `unarchive` module rejects archives containing symlink entries before extraction, but for zip and 7z archives it failed to detect symlinks whose listing carries a DOS-attribute prefix before the unix mode, as produced by legacy versions of p7zip. Such an archive, downloaded and extracted during a scan (for example via `filedownload`), bypassed the guard and caused an attacker-controlled symlink to be written into the extraction directory. The effect is limited to planting the symlink (its target is not written through), and only hosts using such a legacy p7zip build are affected; current mainline 7-Zip is not.

CVE-2026-14966 Affected Bbot Versions

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

References

Frequently Asked Questions

What is CVE-2026-14966?
CVE-2026-14966 is a security vulnerability in Bbot involving BBOT's Symlink guard bypass in unarchive module allows planting symlinks during extraction under CWE-59: Improper Link Resolution Before File Access ('Link Following').
Which Bbot versions are affected?
Affected versions include releases prior to 3.0.0 across affected packages: bbot.
What version fixes CVE-2026-14966?
Upgrading to 3.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bbot affected?
Yes, bbot is affected in releases prior to 3.0.0. Upgrade your dependency to 3.0.0 or later.
What is the CVSS score of CVE-2026-14966?
CVE-2026-14966 has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-14966?
CVE-2026-14966 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-14966?
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-xpf3-p7gm-7756",
  "modified" : "2026-10-14T19:34:31Z",
  "published" : "2026-10-14T19:34:31Z",
  "aliases" : [ "CVE-2026-14966" ],
  "summary" : "BBOT's Symlink guard bypass in unarchive module allows planting symlinks during extraction",
  "details" : "BBOT's `unarchive` module rejects archives containing symlink entries before extraction, but for zip and 7z archives it failed to detect symlinks whose listing carries a DOS-attribute prefix before the unix mode, as produced by legacy versions of p7zip. Such an archive, downloaded and extracted during a scan (for example via `filedownload`), bypassed the guard and caused an attacker-controlled symlink to be written into the extraction directory. The effect is limited to planting the symlink (its target is not written through), and only hosts using such a legacy p7zip build are affected; current mainline 7-Zip is not.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "bbot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.1"
      }, {
        "fixed" : "3.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-xpf3-p7gm-7756"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-14966"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/commit/3bc8d3a96f34f312853c9fcf8decee2a4e905f26"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/commit/a3f1a2292e2b0a553827c6175b761abe28807735"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/blacklanternsecurity/bbot"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/bbot/PYSEC-2026-3719.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-59" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-14T19:34:31Z",
    "nvd_published_at" : "2026-07-08T16:16:27Z"
  }
}