BBOT: Server-Side Request Forgery (SSRF) in docker_pull module via WWW-Authenticate realm parsing
Date: 2026-06
Affected: pip/bbot
Attack vector: ssrf
Category: vulnerability-disclosure
Severity: Low
CVE: CVE-2026-12566
CWE: CWE-20
CWE-918
CVSS: 3.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):