CVE-2026-49145 Affecting ack package, versions <3.10.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.33% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-ACK-17296045
  • published11 Jun 2026
  • disclosed8 Jul 2026

Introduced: 11 Jun 2026

CVE-2026-49145  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 ack to version 3.10.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ack package and not the ack package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.