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

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-13T20:43:43.132Z
- Modified: 2026-07-07T17:56:13.947Z
- Also known as: GHSA-ffj4-jq7m-9g6v, PYSEC-2026-1429
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- DataDog guarddog: < 2.7.1
- guarddog (PyPI): before 2.7.1
- datadoghq guarddog: before 2.7.1

## Every score

- GitHub_M: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/DataDog/guarddog/security/advisories/GHSA-ffj4-jq7m-9g6v> (exploit, third-party-advisory, web)
- <https://github.com/DataDog/guarddog/commit/c3fb07b4838945f42497e78b7a02bcfb1e63969b> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22870> (advisory)
- <https://github.com/DataDog/guarddog> (package)
- <https://pypi.org/project/guarddog> (package)
- <https://github.com/advisories/GHSA-ffj4-jq7m-9g6v> (advisory)

## Sources

- CVE List: [CVE-2026-22870](https://www.cve.org/CVERecord?id=CVE-2026-22870), CVE Terms of Use, modified 2026-01-13
- GitHub Advisory Database: [GHSA-ffj4-jq7m-9g6v](https://github.com/advisories/GHSA-ffj4-jq7m-9g6v), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-22870](https://nvd.nist.gov/vuln/detail/CVE-2026-22870), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1429](https://osv.dev/vulnerability/PYSEC-2026-1429), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-22870 · Whole record: https://cve.day/CVE-2026-22870.json · Rebuilt by cve.day 2026-11-25T22:59:12.821Z
