VDB
Sign up
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

PyPI/bbot
Introduced in: 2.1.0Fixed in: 2.8.6
Fixpip install --upgrade 'bbot>=2.8.6'

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