8.7High

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

DataDog guarddog Published: (10 months ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
DataDog guarddog < 2.7.1
datadoghq guarddog < 2.7.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:datadoghq:guarddog:*:*:*:*:*:python:*:* < 2.7.1