Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22870

CVE-2026-22870: GuardDog CLI Zip Bomb DoS Vulnerability

CVE-2026-22870 is a denial of service flaw in GuardDog CLI tool that allows attackers to exploit zip bombs in PyPI packages, consuming excessive disk space. This article covers the technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2026-22870 Overview

GuardDog is a CLI tool developed by DataDog to identify malicious PyPI packages. A vulnerability exists in versions prior to 2.7.1 where the safe_extract() function fails to validate decompressed file sizes when extracting ZIP archives (wheels, eggs). This flaw allows attackers to cause denial of service through zip bombs, where a malicious package can consume gigabytes of disk space from only a few megabytes of compressed data.

Critical Impact

Attackers can exploit this vulnerability to exhaust disk resources on systems running vulnerable versions of GuardDog, potentially disrupting security scanning operations and CI/CD pipelines that rely on the tool for malicious package detection.

Affected Products

  • GuardDog versions prior to 2.7.1
  • Systems processing untrusted PyPI packages (wheels, eggs) with GuardDog
  • CI/CD pipelines using GuardDog for package security scanning

Discovery Timeline

  • 2026-01-13 - CVE CVE-2026-22870 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2026-22870

Vulnerability Analysis

This vulnerability (CWE-409: Improper Handling of Highly Compressed Data) exists because the safe_extract() function in GuardDog does not implement proper validation of decompressed file sizes during ZIP archive extraction. When processing wheel (.whl) or egg (.egg) Python package formats, the function extracts contents without checking the compression ratio or final decompressed size against reasonable limits.

This design flaw enables a class of attacks known as "zip bombs" or "decompression bombs," where specially crafted archives contain highly compressed data that expands to enormous sizes when extracted. A malicious actor could craft a Python package that appears small (a few megabytes) but decompresses to gigabytes of data, rapidly consuming available disk space.

Root Cause

The root cause stems from insufficient input validation in the archive extraction logic. The safe_extract() function was designed to handle potentially malicious archives but did not account for the compression ratio attack vector. Without checking the expected decompressed size against configurable limits or monitoring cumulative extracted data size, the function becomes vulnerable to resource exhaustion attacks.

Attack Vector

The attack requires network access where an attacker publishes a maliciously crafted Python package to a repository or tricks a user into scanning a local malicious archive. User interaction is required as the victim must run GuardDog against the malicious package. Once triggered, the extraction process consumes disk space without bounds until storage is exhausted or the process is terminated.

The attack flow involves:

  1. Attacker creates a zip bomb disguised as a legitimate Python wheel or egg package
  2. Victim downloads or encounters the malicious package
  3. GuardDog's safe_extract() function processes the archive
  4. Decompression expands the archive far beyond expected sizes
  5. Disk space is exhausted, causing denial of service

Detection Methods for CVE-2026-22870

Indicators of Compromise

  • Unexpected rapid disk space consumption during GuardDog execution
  • GuardDog processes consuming unusually high I/O resources
  • Large temporary files or directories created during package extraction
  • System alerts for low disk space triggered during security scanning operations

Detection Strategies

  • Monitor disk I/O and space utilization during GuardDog execution for anomalous patterns
  • Implement alerting on GuardDog processes that run longer than expected timeframes
  • Review package sizes before and after extraction for unusual compression ratios
  • Audit CI/CD pipeline logs for extraction failures or resource exhaustion errors

Monitoring Recommendations

  • Configure disk space monitoring with thresholds appropriate for your environment
  • Implement process resource limits (cgroups, ulimit) on systems running GuardDog
  • Log and alert on extraction operations that exceed predefined size thresholds
  • Monitor system stability during automated package scanning workflows

How to Mitigate CVE-2026-22870

Immediate Actions Required

  • Upgrade GuardDog to version 2.7.1 or later immediately
  • Review recent GuardDog executions for signs of resource exhaustion
  • Audit packages processed by vulnerable GuardDog versions for potential malicious content
  • Implement resource limits on systems running GuardDog as defense-in-depth

Patch Information

The vulnerability is fixed in GuardDog version 2.7.1. The fix implements proper validation of decompressed file sizes during ZIP archive extraction. For technical details about the patch, refer to the GitHub commit c3fb07b4838945f42497e78b7a02bcfb1e63969b. Additional information is available in the GitHub Security Advisory GHSA-ffj4-jq7m-9g6v.

Workarounds

  • Run GuardDog in isolated environments with strict disk quotas until patching is complete
  • Implement container-based execution with resource constraints (memory and disk limits)
  • Pre-screen packages for suspicious compression ratios before GuardDog analysis
  • Monitor and terminate GuardDog processes that exceed expected execution time or disk usage
bash
# Configuration example - Run GuardDog with disk quota in containerized environment
# Example using Docker with tmpfs size limit
docker run --rm -v /path/to/packages:/scan:ro \
  --tmpfs /tmp:size=500m \
  guarddog-image:2.7.1 guarddog pypi scan /scan/package.whl

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGuarddog

  • SeverityHIGH

  • CVSS Score7.1

  • Known ExploitedNo
  • CVSS 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/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-409
  • Technical References
  • GitHub Commit Details

  • GitHub Security Advisory GHSA-ffj4-jq7m-9g6v
  • Related CVEs
  • CVE-2026-22871: GuardDog Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English