CVE-2026-12566: BBOT Server-Side Request Forgery (SSRF) Vulnerability

LOW
Advisory Identifier: GHSA-3mp7-vp6j-2mxx
CVSS 3.1
CWE-20 CWE-918
Published
Advisory Summary

CVE-2026-12566 is a LOW (CVSS 3.1) server-side request forgery (ssrf) vulnerability (CWE-20: Improper Input Validation) affecting BBOT libraries in the PyPI ecosystem. The issue involves server-side request forgery (ssrf) in docker_pull module via www-authenticate realm parsing. Remediation is available by upgrading affected packages to version 2.8.5.

CVE-2026-12566 at a Glance

CVE Identifier CVE-2026-12566
GHSA Identifier GHSA-3mp7-vp6j-2mxx
Severity LOW
CVSS v3.1 Base Score 3.1
CWE Classification CWE-20: Improper Input Validation
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:L/I:N/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 Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-12566

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-12566, 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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 `docker_pull` module uses the `realm` parameter from a Docker registry's `WWW-Authenticate` response header as the authentication endpoint without validation. An attacker in a man-in-the-middle position between bbot and a Docker registry could modify this header to redirect the authentication request to an arbitrary endpoint, potentially leaking authentication tokens.

CVE-2026-12566 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-12566?
CVE-2026-12566 is a security vulnerability in BBOT involving Server-Side Request Forgery (SSRF) in docker_pull module via WWW-Authenticate realm parsing under CWE-20: Improper Input Validation.
Which BBOT versions are affected?
Affected versions include releases prior to 2.8.5 across affected packages: bbot.
What version fixes CVE-2026-12566?
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-12566?
CVE-2026-12566 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:L/I:N/A:N.
What CWE is associated with CVE-2026-12566?
CVE-2026-12566 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check PyPI dependencies for CVE-2026-12566?
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-3mp7-vp6j-2mxx",
  "modified" : "2026-06-18T15:03:25Z",
  "published" : "2026-06-18T15:03:25Z",
  "aliases" : [ "CVE-2026-12566" ],
  "summary" : "BBOT: Server-Side Request Forgery (SSRF) in docker_pull module via WWW-Authenticate realm parsing",
  "details" : "The `docker_pull` module uses the `realm` parameter from a Docker registry's `WWW-Authenticate` response header as the authentication endpoint without validation. An attacker in a man-in-the-middle position between bbot and a Docker registry could modify this header to redirect the authentication request to an arbitrary endpoint, potentially leaking authentication tokens.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/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-3mp7-vp6j-2mxx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-12566"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/blacklanternsecurity/bbot/commit/c2f4bc0f4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/blacklanternsecurity/bbot"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-918" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-18T15:03:25Z",
    "nvd_published_at" : "2026-06-17T23:17:03Z"
  }
}