MEDIUM6.5
PYSEC-2026-2393
BBOT: Arbitrary File Write in postman_download Module
Quick fix
PYSEC-2026-2393 — bbot: upgrade to the fixed version with the command below.
pip install --upgrade 'bbot>=2.8.6'Details
The `postman_download` module uses the workspace `name` field from the Postman API to construct the local directory path without sanitization. If a malicious workspace has a name containing path traversal characters, pathlib resolves the path outside the intended output directory, allowing an attacker to write arbitrary files to the user's system.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-m54h-vhf9-3w3m[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-12568[ADVISORY]
- https://github.com/blacklanternsecurity/bbot/commit/36bc20818[WEB]
- https://github.com/blacklanternsecurity/bbot[PACKAGE]
- https://pypi.org/project/bbot[PACKAGE]
- https://github.com/advisories/GHSA-m54h-vhf9-3w3m[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"]}'