CVE-2026-22871

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:*

History

21 Jan 2026, 18:46

Type Values Removed Values Added
First Time Datadoghq
Datadoghq guarddog
References () https://github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879c - () https://github.com/DataDog/guarddog/commit/9aa6a725b2c71d537d3c18d1c15621395ebb879c - Patch
References () https://github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68 - () https://github.com/DataDog/guarddog/security/advisories/GHSA-xg9w-vg3g-6m68 - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:*

13 Jan 2026, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-13 21:15

Updated : 2026-01-21 18:46


NVD link : CVE-2026-22871

Mitre link : CVE-2026-22871

CVE.ORG link : CVE-2026-22871


JSON object : View

Products Affected

datadoghq

  • guarddog
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')