Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. guarddog
  4. ›
  5. CVE-2026-22870

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

January 13, 2026

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.

References

  • github.com/DataDog/guarddog
  • github.com/DataDog/guarddog/commit/c3fb07b4838945f42497e78b7a02bcfb1e63969b
  • github.com/DataDog/guarddog/security/advisories/GHSA-ffj4-jq7m-9g6v
  • github.com/advisories/GHSA-ffj4-jq7m-9g6v
  • nvd.nist.gov/vuln/detail/CVE-2026-22870

Code Behaviors & Features

Detect and mitigate CVE-2026-22870 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.7.1

Fixed versions

  • 2.7.1

Solution

Upgrade to version 2.7.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)

Source file

pypi/guarddog/CVE-2026-22870.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.