Critical severity9.8OSV Advisory· Published Jan 13, 2026· Updated Jun 17, 2026
CVE-2026-22871
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
3Patches
Vulnerability mechanics
References
4- github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879cnvdPatchWEB
- github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68nvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-xg9w-vg3g-6m68ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-22871ghsaADVISORY
News mentions
0No linked articles in our index yet.