CVE-2026-22871: Datadoghq Guarddog

Critical severity, CVSS 9.8. EPSS: 1.2% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Datadoghq Guarddog, before 2.7.1: fixed in 2.7.1

Affected products

Affected packages

Published 2026-01-13. Last modified 2026-06-17.