Path Traversal in Datadog Guarddog
CVE-2026-22871
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (63.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.011 · change: +0.001
Affected products
- Datadog Guarddog — versions < 2.7.1
- Datadoghq Guarddog
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-22871?
- CVE-2026-22871 is a critical-severity vulnerability in Datadog Guarddog, classified under Path Traversal. CVSS score: 9.8/10. Published 2026-01-13.
- How severe is CVE-2026-22871?
- Critical severity. CVSS v3 base score is 9.8 out of 10.