ADVISORIES

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

EcosystemPackageAffected versions
PyPIbbot
From 2.1.0 before 2.8.6 (fixed in 2.8.6)

References