VDB
Sign up
LOW3.1

PYSEC-2026-2391

BBOT: Server-Side Request Forgery (SSRF) in docker_pull module via WWW-Authenticate realm parsing

Quick fix

PYSEC-2026-2391 — bbot: upgrade to the fixed version with the command below.

pip install --upgrade 'bbot>=2.8.5'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bbot
Introduced in: 2.0.0Fixed in: 2.8.5
Fixpip install --upgrade 'bbot>=2.8.5'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/bbot"]}'