App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes. When 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. A file whose name embeds cursor-movement or color escapes can overwrite or recolor earlier terminal output, or be passed unchanged to a downstream consumer.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49147
- 2026-10-03 Alias added: GHSA-p4vj-7pqg-xhr6
References
More PETDANCE vulnerabilities
- TI-2026-36359 Resource allocation without limits in PETDANCE App::Ack CVSS 3.1HIGH 7.5
- TI-2026-36358 Untrusted search path in PETDANCE App::Ack CVSS 3.1HIGH 7.5
Sources
- CVE-2026-49147 · CVE Program
- CVE-2026-49147 · NVD
- FIRST EPSS
- GHSA-p4vj-7pqg-xhr6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences