PyPA Advisory Database
PYSEC-2026-2393
BBOT: Arbitrary File Write in postman_download Module
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | bbot | From 2.1.0 before 2.8.6 (fixed in 2.8.6) |
References
- https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-m54h-vhf9-3w3m
- https://nvd.nist.gov/vuln/detail/CVE-2026-12568
- https://github.com/blacklanternsecurity/bbot/commit/36bc20818
- https://github.com/blacklanternsecurity/bbot
- https://pypi.org/project/bbot
- https://github.com/advisories/GHSA-m54h-vhf9-3w3m