Critical severity9.6GHSA Advisory· Published Oct 9, 2025· Updated Apr 15, 2026
CVE-2025-10284
CVE-2025-10284
Description
BBOT's unarchive module could be abused by supplying malicious archives files and when extracted can then perform an arbitrary file write, resulting in remote code execution.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
bbotPyPI | < 2.7.0 | 2.7.0 |
Affected products
1- Range: < 2.7.0
Patches
16325f2f4f8f6abort unarchival if dest dir already exists
1 file changed · +7 −1
bbot/modules/internal/unarchive.py+7 −1 modified@@ -47,7 +47,13 @@ async def filter_event(self, event): async def handle_event(self, event): path = Path(event.data["path"]) # include random string in output directory to avoid collisions - output_dir = path.parent / f"{path.name.replace('.', '_')}_{self.helpers.rand_string(10)}" + output_dir = path.parent / f"{path.name.replace('.', '_')}" + + try: + output_dir.mkdir(exist_ok=False) + except Exception as e: + self.warning(f"Destination directory {output_dir} already exists, aborting unarchive for {path}") + return # Use the appropriate extraction method based on the file type self.info(f"Extracting {path} to {output_dir}")
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-fhw8-8v9p-7jp7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-10284ghsaADVISORY
- blog.blacklanternsecurity.com/p/bbot-security-advisory-gitdumpernvdWEB
- github.com/blacklanternsecurity/bbot/commit/6325f2f4f8f6f4545703e4c9b8004e69f71bec82ghsaWEB
- github.com/blacklanternsecurity/bbot/security/advisories/GHSA-fhw8-8v9p-7jp7ghsaWEB
News mentions
0No linked articles in our index yet.