---
id: "CVE-2025-10284"
kind: "vulnerability"
aliases: ["CVE-2025-10284", "GHSA-fhw8-8v9p-7jp7"]
title: "BBOT's various issues in unarchive.py can cause arbitrary file write and RCE"
severity: "critical"
cvss: 9.6
epss: 0.00712
exploited: false
status: "open"
category: "package"
products: [{"name": "bbot", "fixed": ["2.7.0"], "affected": "< 2.7.0", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["bbot", "cwe-22", "package", "pypi", "python", "security-scanning"]
not_affected_if: ["bbot-2.7.0-or-later", "no-untrusted-scan-targets"]
published_at: "2025-10-09T16:15:44+00:00"
first_seen_at: "2026-10-27T15:18:30+00:00"
updated_at: "2026-10-27T15:32:59+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-fhw8-8v9p-7jp7", "first_seen_at": "2026-10-27T15:18:30+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-10284", "first_seen_at": "2026-10-27T15:32:59+00:00"}]
---

# BBOT's various issues in unarchive.py can cause arbitrary file write and RCE

BBOT's unarchive.py extracts archives from scanned web servers without checking destination paths, so a crafted archive can write files to arbitrary locations. An attacker who controls a site a user scans can use this to execute code on the scanning machine.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:bbot affected < 2.7.0 fixed 2.7.0

## How to check

- `pip show bbot` to read the installed version
- Check whether the installed version is below `2.7.0`

## Fix

- Upgrade the bbot package to `2.7.0` or later
- Until upgraded, avoid scanning untrusted hosts from machines with sensitive files or credentials

## Timeline

- 2026-10-27T15:18:30+00:00 ghsa https://github.com/advisories/GHSA-fhw8-8v9p-7jp7
- 2026-10-27T15:32:59+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-10284

## From the sources

### Summary

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

### Impact

A user who uses bbot to scan a malicious webserver may have arbitrary code executed on their system.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
