ADVISORIES

PyPA Advisory Database

PYSEC-2026-1216

BBOT's git_clone.py can expose users' GitHub API keys to an attacker-controlled webserver

Details

Summary

Due to unsafe URL handling, bbot's git_clone.py can be made to leak a user's github.com API key to an attacker-controlled webserver.

Impact

A user who has placed their github.com API key in the configuration for any of the following modules:

  • github_codesearch
  • github_workflows
  • gitlab
  • git_clone
  • github_usersearch
  • github_org

may leak it to an untrustworthy server.

Affected packages

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

References