CVE-2026-22870
Datadoghq Guarddog vulnerability
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 products
Guarddog. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Datadoghq Guarddog runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/DataDog/guarddog/commit/c3fb07b4838945f42497e78b7a02bcfb1e63969b · Patch
- github.com/DataDog/guarddog/security/advisories/GHSA-ffj4-jq7m-9g6v · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-22870
- github.com/advisories/GHSA-ffj4-jq7m-9g6v
- nvd.nist.gov/vuln/detail/CVE-2026-22870
- cve.org/CVERecord?id=CVE-2026-22870
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.