CVE-2026-22870
published 2026-01-13CVE-2026-22870: 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…
PriorityP340high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.43%
34.5th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| datadog | guarddog | < 2.7.1 | 2.7.1 |
| datadog | guarddog | >= 0 < 2.7.1 | 2.7.1 |
| datadoghq | guarddog | < 2.7.1 | 2.7.1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv4.07.1HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
ghsa·2026-01-13
CVE-2026-22870 [HIGH] CWE-409 GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
## Summary
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.
## Vulnerability Details
**Affected Component:** `guarddog/utils/archives.py` - `safe_extract()` function
**Vulnerability Type:** CWE-409 - Improper Handling of Highly Compressed Data (Zip Bomb)
**Severity:** HIGH (CVSS ~8)
**Attack Vector:** Network (malicious package uploaded to PyPI/npm) or local
### Root Cause
The `safe_extract()` function handles TAR files securely using the `tarsafe` library, but ZIP file extraction has no siz
OSV
GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
osv·2026-01-13
CVE-2026-22870 [HIGH] GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
## Summary
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.
## Vulnerability Details
**Affected Component:** `guarddog/utils/archives.py` - `safe_extract()` function
**Vulnerability Type:** CWE-409 - Improper Handling of Highly Compressed Data (Zip Bomb)
**Severity:** HIGH (CVSS ~8)
**Attack Vector:** Network (malicious package uploaded to PyPI/npm) or local
### Root Cause
The `safe_extract()` function handles TAR files securely using the `tarsafe` library, but ZIP file extraction has no siz
No detection rules found.
No public exploits indexed.
2026-01-13
Published