What’s Vulnerable › Vulnerabilities

CVE-2026-22871: GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE

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.

Affected products

How to fix

Upgrade to a fixed version: DataDog guarddog 2.7.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-22871 or the next vulnerability affects your stack