CVE-2026-12565 Path Traversal (Zip-Slip) in unarchive module

Medium 5.3 Published Updated

Attackers can exploit path traversal in BBOT's unarchive module to write files outside the extraction directory, potentially leading to code execution on systems with older tar versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-12565?

CVE-2026-12565 is a medium-severity path traversal vulnerability in Black Lantern Security BBOT, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The unarchive internal module's archive extraction commands perform no code-level validation on extracted file paths, relying entirely on the behavior of external tools (e.g. GNU tar) which varies by platform. While CVE-2025-10284 addressed git-specific RCE vectors, the underlying archive extraction path traversal was never fixed. On systems with GNU tar < 1.34 (Ubuntu 20.04, Debian Buster, CentOS 7, many Docker base images), a malicious archive can write files outside the intended extraction directory.

Weakness: CWE-22

Which versions are affected by CVE-2026-12565?

3 open source packages ship an affected version, including bbot.

PackageAffectedFixed in
bbot PyPIFrom 2.3.12.8.5
bbot PyPIFrom 2.3.12.8.5
bbot PyPIFrom 2.3.12.8.5

How do I fix CVE-2026-12565?

Upgrade bbot to 2.8.5 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-12565 being exploited?

There is no known exploitation of CVE-2026-12565 in the wild and no public exploit code.

Sources

Also known as GHSA-3vgw-585j-4m45, PYSEC-2026-2392.

Is CVE-2026-12565 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free