CVE-2025-10284: Bbot Remote Code Execution Vulnerability
CRITICALCVE-2025-10284 is a CRITICAL (CVSS 9.6) remote code execution vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Bbot libraries in the PyPI ecosystem. The issue involves bbot's various issues in unarchive.py can cause arbitrary file write and rce. Remediation is available by upgrading affected packages to version 2.7.0.
CVE-2025-10284 at a Glance
Security Impact
CVSS: 9.6
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:H/I:H/A:H).
How to Fix CVE-2025-10284
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-10284, 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. 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-10284 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-10284?
Which Bbot versions are affected?
What version fixes CVE-2025-10284?
Is bbot affected?
What is the CVSS score of CVE-2025-10284?
What CWE is associated with CVE-2025-10284?
How can I check PyPI dependencies for CVE-2025-10284?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fhw8-8v9p-7jp7",
"modified" : "2025-10-09T22:22:11Z",
"published" : "2025-10-09T22:22:11Z",
"aliases" : [ "CVE-2025-10284" ],
"summary" : "BBOT's various issues in unarchive.py can cause arbitrary file write and RCE",
"details" : "### Summary\n\nVarious issues in bbot's `unarchive.py` allow a malicious site to cause bbot to write arbitrary files to arbitrary locations. This can be used to achieve Remote Code Execution (RCE).\n\n### Impact\n\nA user who uses bbot to scan a malicious webserver may have arbitrary code executed on their system.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"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-fhw8-8v9p-7jp7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10284"
}, {
"type" : "WEB",
"url" : "https://github.com/blacklanternsecurity/bbot/commit/6325f2f4f8f6f4545703e4c9b8004e69f71bec82"
}, {
"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-22" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-09T22:22:11Z",
"nvd_published_at" : "2025-10-09T16:15:44Z"
}
}