---
id: "CVE-2025-10283"
kind: "vulnerability"
aliases: ["CVE-2025-10283", "GHSA-h6m2-r6h9-4c44"]
title: "BBOT's insufficient sanitization issues in gitdumper.py can lead to RCE"
severity: "critical"
cvss: 9.6
epss: 0.00483
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-below-2.7.0-not-installed", "gitdumper-module-disabled"]
published_at: "2025-10-09T16:15:43+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-h6m2-r6h9-4c44", "first_seen_at": "2026-10-27T15:18:30+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-10283", "first_seen_at": "2026-10-27T15:32:59+00:00"}]
---

# BBOT's insufficient sanitization issues in gitdumper.py can lead to RCE

BBOT's gitdumper module does not sanitize data from a scanned target's .git files, including a malicious .git/index that causes arbitrary file writes. A malicious web server being scanned can use this to get code executed on the machine running BBOT.

_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

- Check the installed version with `pip show bbot` and compare it to `2.7.0`
- Check whether the gitdumper module is enabled in scan configs, since it is the vulnerable code path

## Fix

- Upgrade `bbot` to `2.7.0` or later with `pip install -U bbot>=2.7.0`

## Timeline

- 2026-10-27T15:18:30+00:00 ghsa https://github.com/advisories/GHSA-h6m2-r6h9-4c44
- 2026-10-27T15:32:59+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-10283

## From the sources

### Summary

bbot's `gitdumper.py` insufficiently sanitises a `.git/config` file, leading to Remote Code Execution (RCE).

bbot's `gitdumper.py` can be made to consume a malicious `.git/index` file, leading to arbitrary file write which 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_
