Advisory

PYSEC-2026-2391

Also known as: CVE-2026-12566, GHSA-3mp7-vp6j-2mxx

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

Low Basis: CVSS v3 score 3.1, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Dates

Published
2026-07-13 15:46 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

bbot

PyPI · All systems

Affected

  • introduced 2.0.0, fixed 2.8.5 (ecosystem)

Fixed versions

2.8.5

Fix

  • Fixed version 2.8.5
    pip install --upgrade bbot==2.8.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences