CVE-2026-22871: GuardDog is a CLI tool to identify malicious PyPI packages
CVE-2026-22871 is a critical-severity flaw (CVSS 9.8) affecting guarddog. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 35%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-01-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-22871?
guarddog: upgrade to 2.7.1. Exact commands for each OS are on this page.
Is CVE-2026-22871 being exploited?
CVE-2026-22871 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-22871 affect?
CVE-2026-22871 affects guarddog. Severity is critical (CVSS 9.8). 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 intend
How urgent is CVE-2026-22871?
Priority 55/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-22870 HIGH 7.5 UPGRADE GuardDog is a CLI tool to identify malicious PyPI packages