Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-22871: GuardDog is a CLI tool to identify malicious PyPI packages

55
This month
CRITICAL 9.8REMOTEUPGRADE

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 score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.1% (top 35%)
CISA exploited listNo
WeaknessCWE-22
Published2026-01-13
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: datadoghq

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

datadoghq guarddog UPGRADE
Affected: < 2.7.1
Fixed in: 2.7.1
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show guarddog
2. UPGRADE to 2.7.1
pip install --upgrade "guarddog>=2.7.1"

Exact fixes by distribution

Python (pip) · guarddog · FIXED · 2.7.1 · vulnerable: < 2.7.1 · source
pip install --upgrade "guarddog>=2.7.1" pip show guarddog
Fedora 46 · php-pecl-yac · FIXED · 3.0.2-1.fc46 · FEDORA-2026-0322a78385 · source
sudo dnf upgrade --advisory=FEDORA-2026-0322a78385
Fedora ELN · openldap · FIXED · 2.6.16-1.eln159 · FEDORA-2026-4b30c86326 · source
sudo dnf upgrade --advisory=FEDORA-2026-4b30c86326
Verify at the official source NVD · CVE Program · Report a problem with this page
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

PyPI packages vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.