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
References
- https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-p3v4-c93g-cmhw[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-10282[ADVISORY]
- https://blog.blacklanternsecurity.com/p/bbot-security-advisory-gitdumper[WEB]
- https://github.com/blacklanternsecurity/bbot[PACKAGE]
- https://pypi.org/project/bbot[PACKAGE]
- https://github.com/advisories/GHSA-p3v4-c93g-cmhw[ADVISORY]
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"]}'