CVE-2026-22871: Vulnerability in Datadoghq Guarddog

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

PyPI, CWE-22

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-xg9w-vg3g-6m68
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Published
13 Jan 2026
Last change
17 Jun 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Datadoghq Guarddog Before 2.7.1. Fixed in 2.7.1

Affected packages

Vulnerable version ranges and fixed releases

  • guarddog PyPI, Affected before 2.7.1. Fixed in 2.7.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related