Vulnerability · Published Jul 8, 2026 · Assigned by CPANSec
CVE-2026-49145App::Ack versions through 3.10.0 for Perl read arbitrary files via --files-from in a project .ackrc
High 7.5
In plain English
A high-severity security flaw in App::Ack from PETDANCE. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
App::Ack versions through 3.10.0 for Perl read arbitrary files via --files-from in a project .ackrc. ack searches up the directory hierarchy from the current directory for a project .ackrc and loads its options. The project-source option blocklist in App::Ack::ConfigLoader does not include --files-from, so a project .ackrc can set it to a path whose listed files ack then reads and searches. Version 3.10.0 added --follow to the blocklist; --files-from remains accepted. A project .ackrc committed to an untrusted repository can make ack read files outside the project and print their matching lines.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | ack | 3.10.0-r0 | ALPINE-CVE-2026-49145 |
| Debian:12 | ack | no fix listed | DEBIAN-CVE-2026-49145 |
| Debian:13 | ack | no fix listed | DEBIAN-CVE-2026-49145 |
| Debian:14 | ack | no fix listed | DEBIAN-CVE-2026-49145 |
| Ubuntu:22.04:LTS | ack | no fix listed | UBUNTU-CVE-2026-49145 |
| Ubuntu:24.04:LTS | ack | no fix listed | UBUNTU-CVE-2026-49145 |
| Ubuntu:25.10 | ack | no fix listed | UBUNTU-CVE-2026-49145 |
| Ubuntu:26.04:LTS | ack | no fix listed | UBUNTU-CVE-2026-49145 |
| Ubuntu:26.10 | ack | no fix listed | UBUNTU-CVE-2026-49145 |
Affected products (as reported)
Weakness: CWE-73, CWE-426 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H