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

PackageAffected versionsPatched versions
bbotPyPI
< 2.7.02.7.0

Affected products

1

Patches

1
6325f2f4f8f6

abort unarchival if dest dir already exists

https://github.com/blacklanternsecurity/bbotTheTechromancerAug 25, 2025via ghsa
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

News mentions

0

No linked articles in our index yet.