ADVISORIES

PyPA Advisory Database

PYSEC-2026-2394

BBOT: Symlink-Following Arbitrary Write via github_workflows Module

Details

The github_workflows module constructs local directory paths from user-controlled repository names without validating for symlinks. A local attacker sharing the scan directory can plant a symlink at the predictable output path, causing workflow data to be written to an attacker-chosen location.

Affected packages

EcosystemPackageAffected versions
PyPIbbot
From 2.0.0 before 2.8.5 (fixed in 2.8.5)

References