Vulnerability · Published May 27, 2026 · Assigned by GitHub_M

CVE-2026-44972GuardDog: Unsanitized human-readable scan output allows terminal escape injection from malicious package content

Medium 5.0

In plain English

A medium-severity security flaw in guarddog from DataDog. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities).

Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)0.1%top 98.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

GuardDog is a CLI tool to identify malicious PyPI packages. From 2.6.0 to 2.9.0, GuardDog includes attacker-controlled filenames, file locations, messages, and code snippets in its default human-readable output without escaping terminal control characters. A malicious package can therefore inject ANSI or OSC escape sequences into analyst terminals or CI logs.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIguarddogno fix listedGHSA-m5p4-gvpx-4mvr
PyPIguarddogno fix listedPYSEC-2026-2506

Affected products (as reported)

VendorProductVersions
DataDog guarddog >= 2.6.0, <= 2.9.0

Weakness: CWE-116 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References