CVE-2026-22871: datadog guarddog Path Traversal
Vulnerability summary
CVE-2026-22871 is a critical (CVSS 9.8) Path Traversal vulnerability in datadog guarddog. EPSS estimates a 1.06% chance of exploitation in the next 30 days, higher than 64.1% of scored vulnerabilities.
Timeline
- 13-01-2026PublishedVulnerability first disclosed.
- 13-01-2026Last modifiedVulnerability information updated.
Description
GuardDog is a CLI tool to identify malicious PyPI packages. Prior to 2.7.1, there is a path traversal vulnerability exists in GuardDog's safe_extract() function that allows malicious PyPI packages to write arbitrary files outside the intended extraction directory, leading to Arbitrary File Overwrite and Remote Code Execution on systems running GuardDog. This vulnerability is fixed in 2.7.1.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.7HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/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
EPSS trend
Probability
1.06%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
-0.01 pp
From 1.07% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
3 vendors · 3 products
References
6 links- github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68X Refsource CONFIRMWEBThird Party Advisory
- github.com/DataDog/guarddogPACKAGE
- pypi.org/project/guarddogPACKAGE