Skip to content
OpenAdvisories
High · 8.7 CVE-2026-22871 EUVD-2026-2012GHSA-xg9w-vg3g-6m68PYSEC-2026-1430

GuardDog Path Traversal Vulnerability Leads to Arbitrary File Overwrite and RCE

Published Jan 13, 2026 · Updated Jan 13, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
DataDog guarddog < 2.7.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI guarddog < 2.7.1 2.7.1 GHSA-xg9w-vg3g-6m68

References