{
  "id": "CVE-2026-49147",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49147",
  "published_at": "2026-07-08T14:55:50.232Z",
  "title": "App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes",
  "vendor": "PETDANCE",
  "product": "App::Ack",
  "cvss": {
    "score": 7.5,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes.\n\nWhen ack prints a filename whose basename contains terminal control bytes such as ANSI escape sequences, those bytes reach the terminal unchanged. Version 3.10.0 added a _safe_filename helper that sanitises the filenames printed by -f, -g, the colored match heading, and per-match lines, but the --show-types, -l/-L, and -c paths still emit the raw filename.\n\nA file whose name embeds cursor-movement or color escapes can overwrite or recolor earlier terminal output, or be passed unchanged to a downstream consumer.",
  "cwe": "CWE-150",
  "cvss_by_source": {
    "cisa-adp": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "PETDANCE",
        "product": "App::Ack",
        "ranges": [
          "\u003c= 3.10.0"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "Upgrade to a future ack release."
    ],
    "workarounds": [
      "Pipe ack output through a filter that strips terminal control characters when running ack over untrusted filenames."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
