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.
References
| Link | Resource |
|---|---|
| https://github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879c | Patch |
| https://github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68 | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-01-13 21:15
Updated : 2026-01-21 18:46
NVD link : CVE-2026-22871
Mitre link : CVE-2026-22871
CVE.ORG link : CVE-2026-22871
JSON object : View
Products Affected
datadoghq
- guarddog
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
