Skip to content
Heist/ feed
Back to feed
Medium

gdu Terminal Injection via Unstripped Escape Sequences

Type: advisorySources: OSV

gdu fails to strip terminal escape sequences from directory and file names when printing paths after TUI exit. Attackers can craft malicious directory or file names containing escape sequences that are interpreted by the terminal, enabling title spoofing, clipboard manipulation, or other terminal-dependent effects.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-73480
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:13 UTC · Revision 1

Source evidence

gdu Terminal Injection via Unstripped Escape Sequences

core-osv · Original source

Published 13 Aug 2026, 21:07 UTC

gdu fails to strip terminal escape sequences from directory and file names when printing paths after TUI exit. Attackers can craft malicious directory or file names containing escape sequences that are interpreted by the terminal, enabling title spoofing, clipboard manipulation, or other terminal-dependent effects.

osv:CVE-2026-73480
Complete source record
{
  "id": "89b0b49fdd0bdbf807453b612c2eacd10aff2fbeb3fc90e149b9008cc5a939ea",
  "url": "https://osv.dev/vulnerability/CVE-2026-73480",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "gdu Terminal Injection via Unstripped Escape Sequences",
    "summary": "gdu fails to strip terminal escape sequences from directory and file names when printing paths after TUI exit. Attackers can craft malicious directory or file names containing escape sequences that are interpreted by the terminal, enabling title spoofing, clipboard manipulation, or other terminal-dependent effects.",
    "evidence": "osv:CVE-2026-73480",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-73480",
      "aliases": [
        "CVE-2026-73480"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dundee/gdu",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fe605ecd9ad0e0f1c7ba84131ddfa1c83c52406f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "fe605ecd9ad0e0f1c7ba84131ddfa1c83c52406f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.36.1",
            "v5.36.0",
            "v5.35.0",
            "v5.34.0",
            "v5.33.0",
            "v5.32.0",
            "v5.31.0",
            "v5.30.1",
            "v5.30.0",
            "v5.29.0",
            "v5.28.0",
            "v5.27.0",
            "v5.26.0",
            "v5.25.0",
            "v5.24.0",
            "v5.23.0",
            "v5.22.0",
            "v5.21.1",
            "v5.21.0",
            "v5.20.0",
            "v5.19.0",
            "v5.18.1",
            "v5.18.0",
            "v5.17.1",
            "v5.17.0",
            "v5.16.0",
            "v5.15.0",
            "v5.14.0",
            "v5.13.2",
            "v5.13.1",
            "v5.13.0",
            "v5.12.1",
            "v5.12.0",
            "v5.11.0",
            "v5.10.1",
            "v5.10.0",
            "v5.9.0",
            "v5.8.1",
            "v5.8.0",
            "v5.7.0",
            "v5.6.2",
            "v5.6.1",
            "v5.6.0",
            "v5.5.0",
            "v5.4.0",
            "v5.3.0",
            "v5.2.0",
            "v5.1.1",
            "v5.1.0",
            "v5.0.1",
            "v5.0.0",
            "v4.11.2",
            "v4.11.1",
            "v4.11.0",
            "v4.10.1",
            "v4.10.0",
            "v4.9.1",
            "v4.9.0",
            "v4.8.1",
            "v4.8.0",
            "v4.7.0",
            "v4.6.5",
            "v4.6.4",
            "v4.6.3",
            "v4.6.2",
            "v4.6.1",
            "v4.6.0",
            "v4.5.0",
            "v4.4.1",
            "v4.4.0",
            "v4.3.3",
            "v4.3.2",
            "v4.3.1",
            "v4.3.0",
            "v4.2.0",
            "v4.1.1",
            "v4.1.0",
            "v4.0.0",
            "v3.0.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0.0",
            "v1.7.1",
            "v1.7.0",
            "v1.6.0",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73480.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.546319158Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73480.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-73480",
        "https://www.vulncheck.com/advisories/gdu-terminal-injection-via-unstripped-escape-sequences",
        "https://github.com/dundee/gdu/issues/615",
        "https://github.com/dundee/gdu/commit/fe605ecd9ad0e0f1c7ba84131ddfa1c83c52406f",
        "https://github.com/dundee/gdu"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-116"
        ],
        "cna_assigner": "VulnCheck",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "fe605ec"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73480.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-73480",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501966,
  "published_at": "2026-08-13T21:07:18.686+00:00"
}