ADVISORIES

PyPA Advisory Database

PYSEC-2026-293

BBOT's insufficient sanitization issues in gitdumper.py can lead to RCE

Details

Summary

bbot's gitdumper.py insufficiently sanitises a .git/config file, leading to Remote Code Execution (RCE).

bbot's gitdumper.py can be made to consume a malicious .git/index file, leading to arbitrary file write which can be used to achieve Remote Code Execution (RCE).

Impact

A user who uses bbot to scan a malicious webserver may have arbitrary code executed on their system.

Affected packages

EcosystemPackageAffected versions
PyPIbbot
All versions before 2.7.0 (fixed in 2.7.0)

References