CVE-2025-10281: Bbot BBOT's Git_clone.py Can Expose Users' Vulnerability

MODERATE
Advisory Identifier: GHSA-63wh-p5fx-h4vc
CVSS 4.7
CWE-200
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-10281
GHSA Identifier GHSA-63wh-p5fx-h4vc
Severity MODERATE
CVSS v3.1 Base Score 4.7
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Bbot
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

bbot fixed: 2.7.0
pip install bbot>=2.7.0
Verify Direct and Transitive Dependencies

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

### 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.

CVE-2025-10281 Affected Bbot Versions

1 component(s)
Fixed Versions:
2.7.0
Product / Package Ecosystem Affected Versions Fixed Version
bbot
PyPI
< 2.7.0
2.7.0

References

Frequently Asked Questions

What is CVE-2025-10281?
CVE-2025-10281 is a security vulnerability in Bbot involving BBOT's git_clone.py can expose users' GitHub API keys to an attacker-controlled webserver under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Bbot versions are affected?
Affected versions include releases prior to 2.7.0 across affected packages: bbot.
What version fixes CVE-2025-10281?
Upgrading to 2.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is bbot affected?
Yes, bbot is affected in releases prior to 2.7.0. Upgrade your dependency to 2.7.0 or later.
What is the CVSS score of CVE-2025-10281?
CVE-2025-10281 has a CVSS v3.1 base score of 4.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N.
What CWE is associated with CVE-2025-10281?
CVE-2025-10281 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2025-10281?
Run the dependency tree command: 'pip show bbot'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}