CVE-2025-10281: Bbot BBOT's Git_clone.py Can Expose Users' Vulnerability
MODERATECVE-2025-10281 is a MODERATE (CVSS 4.7) bbot's git_clone.py can expose users' vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Bbot libraries in the PyPI ecosystem. The issue involves bbot's git_clone.py can expose users' github api keys to an attacker-controlled webserver. Remediation is available by upgrading affected packages to version 2.7.0.
CVE-2025-10281 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N).
How to Fix CVE-2025-10281
To remediate this vulnerability, upgrade all affected Bbot dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install bbot>=2.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show bbot
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-10281, inspect your installed packages using pip:
pip show bbot
Analyze the terminal output to locate any version of Bbot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.0), your application is affected.
Note: The pip show bbot command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Bbot, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-10281 Affected Bbot Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
bbot
|
PyPI |
< 2.7.0
|
2.7.0
|
References
Frequently Asked Questions
What is CVE-2025-10281?
Which Bbot versions are affected?
What version fixes CVE-2025-10281?
Is bbot affected?
What is the CVSS score of CVE-2025-10281?
What CWE is associated with CVE-2025-10281?
How can I check PyPI dependencies for CVE-2025-10281?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-63wh-p5fx-h4vc",
"modified" : "2025-10-09T22:29:33Z",
"published" : "2025-10-09T22:29:33Z",
"aliases" : [ "CVE-2025-10281" ],
"summary" : "BBOT's git_clone.py can expose users' GitHub API keys to an attacker-controlled webserver",
"details" : "### Summary\n\nDue 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.\n\n### Impact\n\nA user who has placed their github.com API key in the configuration for any of the following modules:\n\n* `github_codesearch`\n* `github_workflows`\n* `gitlab`\n* `git_clone`\n* `github_usersearch`\n* `github_org`\n\nmay leak it to an untrustworthy server.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "bbot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/blacklanternsecurity/bbot/security/advisories/GHSA-63wh-p5fx-h4vc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10281"
}, {
"type" : "WEB",
"url" : "https://github.com/blacklanternsecurity/bbot/commit/0ede97fa887de33fcfd1378b4213a09c21dc6140"
}, {
"type" : "WEB",
"url" : "https://blog.blacklanternsecurity.com/p/bbot-security-advisory-gitdumper"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/blacklanternsecurity/bbot"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-09T22:29:33Z",
"nvd_published_at" : "2025-10-09T16:15:42Z"
}
}