VDB
Sign up
MEDIUM4.7

PYSEC-2026-1217

BBOT's gitlab.py exposes globally configured "gitlab" API key

Quick fix

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

pip install --upgrade 'bbot>=2.7.2'

Details

### Summary

bbot's `gitlab.py` sends the user's "gitlab" API key to on-premise GitLab instances.

If a user has configured a gitlab.com API key using this mechanism, it may be leaked to an attacker-controlled server.

### Impact

A user with a "gitlab" API key configured who uses bbot to scan a malicious webserver may leak their gitlab.com API key to an untrustworthy server.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bbot
Introduced in: 0Fixed in: 2.7.2
Fixpip install --upgrade 'bbot>=2.7.2'

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"]}'