Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-44972 EUVD-2026-32534GHSA-m5p4-gvpx-4mvrPYSEC-2026-2506

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

Published May 27, 2026 · Updated May 27, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
DataDog guarddog >= 2.6.0, <= 2.9.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI guarddog >= 2.6.0, <= 2.9.0 — GHSA-m5p4-gvpx-4mvr

References