CVE-2026-44972 GuardDog: Unsanitized human-readable scan output allows terminal escape injection from malicious package content
Attackers can inject terminal escape sequences via malicious package content, potentially executing code or manipulating logs in analyst terminals.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-44972?
CVE-2026-44972 is a medium-severity vulnerability in DataDog guarddog, published on 27 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
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.
Weakness: CWE-116
Which versions are affected by CVE-2026-44972?
3 open source packages ship an affected version, including guarddog.
| Package | Affected | Fixed in |
|---|---|---|
guarddog PyPI | From 2.6.0 to 2.9.0 | None |
guarddog PyPI | From 2.6.0 to 2.9.0 | None |
guarddog PyPI | From 2.6.0 to 2.9.0 | None |
How do I fix CVE-2026-44972?
No fix has been published for CVE-2026-44972 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-44972 being exploited?
There is no known exploitation of CVE-2026-44972 in the wild and no public exploit code.
Sources
Also known as GHSA-m5p4-gvpx-4mvr, PYSEC-2026-2506.