CVE-2026-22870 GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS

High 7.1 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-22870?

CVE-2026-22870 is a high-severity vulnerability in DataDog guarddog, published on 13 Jan 2026.

Official description

GuardDog is a CLI tool to identify malicious PyPI packages. Prior to 2.7.1, GuardDog's safe_extract() function does not validate decompressed file sizes when extracting ZIP archives (wheels, eggs), allowing attackers to cause denial of service through zip bombs. A malicious package can consume gigabytes of disk space from a few megabytes of compressed data. This vulnerability is fixed in 2.7.1.

Weakness: CWE-409

Which versions are affected by CVE-2026-22870?

3 open source packages ship an affected version, including guarddog. It affects 1 product.

PackageAffectedFixed in
guarddog PyPIAll versions2.7.1
guarddog PyPIAll versions2.7.1
guarddog PyPIAll versions2.7.1

Products include Datadoghq Guarddog.

How do I fix CVE-2026-22870?

Upgrade guarddog to 2.7.1 or later.

Is CVE-2026-22870 being exploited?

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

Sources

Also known as GHSA-ffj4-jq7m-9g6v, PYSEC-2026-1429.

Is CVE-2026-22870 in your software?

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

Check your SBOMs for free