Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. guarddog
  4. ›
  5. CVE-2026-44972

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

May 11, 2026 (updated June 8, 2026)

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.

  1. Create a file whose name contains \x1b[2J.
  2. Feed a semgrep-style result referencing that file into Analyzer._format_semgrep_response().
  3. Render the result with HumanReadableReporter.print_scan_results().
  4. The output string contains the raw escape bytes, which a terminal may interpret.

References

  • github.com/DataDog/guarddog/security/advisories/GHSA-m5p4-gvpx-4mvr
  • github.com/advisories/GHSA-m5p4-gvpx-4mvr
  • nvd.nist.gov/vuln/detail/CVE-2026-44972

Code Behaviors & Features

Detect and mitigate CVE-2026-44972 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.6.0 up to 2.9.0

Solution

Unfortunately, there is no solution available yet.

Impact 5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

pypi/guarddog/CVE-2026-44972.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:48 +0000.