Home

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.

PUBLISHED Reserved 2026-01-12 | Published 2026-01-13 | Updated 2026-01-13 | Assigner GitHub_M




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 2.7.1
affected

References

github.com/...arddog/security/advisories/GHSA-xg9w-vg3g-6m68

github.com/...ommit/9aa6a725b2c71d537d3c18d1c15621395ebb879c

cve.org (CVE-2026-22871)

nvd.nist.gov (CVE-2026-22871)

Download JSON