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.
Published: 2026-01-13
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

GuardDog is a command‑line utility that inspects PyPI packages for malicious content. In versions earlier than 2.7.1 its safe_extract() routine extracts ZIP archives without checking the size of the decompressed payload. An attacker can embed a zip bomb—a few megabytes of compressed data that expands to many gigabytes—inside a malicious package. The extraction process consumes vast amounts of disk space, potentially exhausting the file system and causing a denial of service.

Affected Systems

DataDog’s GuardDog tool, used by developers or CI pipelines, is affected. Any installation of GuardDog with a version earlier than 2.7.1 is vulnerable. The issue has been fixed in release 2.7.1, so only customers running older versions are at risk.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.1, indicating a considerable severity. The EPSS score of less than 1% suggests that exploitation is currently unlikely but not impossible, and it is not listed in CISA’s KEV catalog. Attackers would need to supply a crafted PyPI package to a user running GuardDog, so the vector is local or during package ingestion. If successful, the attacker can flood the host with disk usage, leading to service interruption.

Generated by OpenCVE AI on April 18, 2026 at 06:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GuardDog to version 2.7.1 or later.
  • Limit the directory or disk quota used for GuardDog extraction to mitigate potential overflow.
  • Monitor disk space usage during GuardDog runs and set alerts if usage spikes unexpectedly.

Generated by OpenCVE AI on April 18, 2026 at 06:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-ffj4-jq7m-9g6v GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
History

Wed, 21 Jan 2026 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Wed, 14 Jan 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Datadoghq
Datadoghq guarddog
Vendors & Products Datadoghq
Datadoghq guarddog

Tue, 13 Jan 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Jan 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS
Weaknesses CWE-409
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}


Subscriptions

Datadoghq Guarddog
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-13T21:23:53.024Z

Reserved: 2026-01-12T16:20:16.747Z

Link: CVE-2026-22870

cve-icon Vulnrichment

Updated: 2026-01-13T21:23:49.022Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-13T21:15:55.067

Modified: 2026-01-21T18:47:48.963

Link: CVE-2026-22870

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T06:30:25Z

Weaknesses