High severityOSV Advisory· Published Jan 13, 2026· Updated Jan 13, 2026
GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE
CVE-2026-22871
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
guarddogPyPI | < 2.7.1 | 2.7.1 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-xg9w-vg3g-6m68ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-22871ghsaADVISORY
- github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879cghsax_refsource_MISCWEB
- github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.