Skip to content
OpenAdvisories
High · 7.5 CVE-2026-49145 EUVD-2026-42288GHSA-c2rv-g977-2fxr

App::Ack versions through 3.10.0 for Perl read arbitrary files via --files-from in a project .ackrc

Published Jul 8, 2026 · Updated Jul 8, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
PETDANCE App::Ack ≤ 3.10.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ack 3.10.0-1 —
Debian 13 ack No fix yet —
Debian 12 ack No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ack No fix yet —
Ubuntu 26.04 LTS ack No fix yet —
Ubuntu 25.10 ack No fix yet —
Ubuntu 24.04 LTS ack No fix yet —
Ubuntu 22.04 LTS ack No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ack No fix yet —
Ubuntu 18.04 LTS ack No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ack 3.10.0-1.1 openSUSE-SU-2026:10965-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ack 3.10.0-r0 —

Advisories 1

References