{"answers":{"affected":"3 open source packages ship an affected version, including guarddog. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-22870 in the wild and no public exploit code.","fix":"Upgrade guarddog to 2.7.1 or later.","what":"CVE-2026-22870 is a high-severity vulnerability in DataDog guarddog, published on 13 Jan 2026."},"fix_prompt":"Check this codebase for CVE-2026-22870 and fix it if it is affected.\n\nWhat it is: CVE-2026-22870 is a high-severity vulnerability in DataDog guarddog, published on 13 Jan 2026. \nExploitation: There is no known exploitation of CVE-2026-22870 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- guarddog (PyPI): affected all versions; fixed in 2.7.1\n- guarddog (PyPI): affected all versions; fixed in 2.7.1\n- guarddog (PyPI): affected all versions; fixed in 2.7.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-22870/ (Markdown: https://insights.sbomify.com/CVE-2026-22870/index.md)","id":"CVE-2026-22870","markdown":"https://insights.sbomify.com/CVE-2026-22870/index.md","name":"CVE-2026-22870","record":{"aliases":["GHSA-ffj4-jq7m-9g6v","PYSEC-2026-1429"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"guarddog","vendor":"datadoghq"}],"cvss":{"score":7.1,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GuardDog Zip Bomb Vulnerability in safe_extract() Allows DoS","id":"CVE-2026-22870","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE","id":"CVE-2026-22871"},"packages":[{"ecosystem":"PyPI","fixed":["2.7.1"],"introduced":["0"],"last_affected":[],"package":"guarddog","purl":null,"source":"GHSA-ffj4-jq7m-9g6v"},{"ecosystem":"PyPI","fixed":["2.7.1"],"introduced":["0"],"last_affected":[],"package":"guarddog","purl":"pkg:pypi/guarddog","source":"GHSA-ffj4-jq7m-9g6v"},{"ecosystem":"PyPI","fixed":["2.7.1"],"introduced":["0"],"last_affected":[],"package":"guarddog","purl":"pkg:pypi/guarddog","source":"PYSEC-2026-1429"}],"prev":{"headline":"Eigent Allows Arbitrary Code Execution via pull_request_target CI Workflow","id":"CVE-2026-22869"},"products":["guarddog"],"published":"2026-01-13","related":[{"cvss_score":8.7,"headline":"GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE","id":"CVE-2026-22871","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":5.8,"headline":"GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package","id":"CVE-2022-23530","kev_date_added":null,"published":"2022-12-16"},{"cvss_score":5.8,"headline":"Arbitrary file write when scanning a specially-crafted local PyPI package","id":"CVE-2022-23531","kev_date_added":null,"published":"2022-12-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-13","vendors":["DataDog"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-22870/"}