CVE-2026-49145
Full vulnerability record from the local CVENow database.
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.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Deferred
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-07-08 15:16:27.563000
Last modified
2026-10-25 20:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-49145",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-07-08T15:16:27.563",
"lastModified": "2026-10-25T20:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "App::Ack versions through 3.10.0 for Perl read arbitrary files via --files-from in a project .ackrc.\n\nack 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.\n\nA project .ackrc committed to an untrusted repository can make ack read files outside the project and print their matching lines."
},
{
"lang": "es",
"value": "Las versiones de App::Ack hasta la 3.10.0 para Perl leen archivos arbitrarios a través de --files-from en un archivo .ackrc de proyecto.\n\nack busca en la jerarquía de directorios desde el directorio actual un archivo .ackrc de proyecto y carga sus opciones. La lista negra de opciones de origen de proyecto en App::Ack::ConfigLoader no incluye --files-from, por lo que un archivo .ackrc de proyecto puede configurarlo a una ruta cuyos archivos listados ack luego lee y busca. La versión 3.10.0 añadió --follow a la lista negra; --files-from sigue siendo aceptado.\n\nUn archivo .ackrc de proyecto confirmado en un repositorio no confiable puede hacer que ack lea archivos fuera del proyecto e imprima sus líneas coincidentes."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"vendor": "PETDANCE",
"product": "App::Ack",
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "ack",
"programFiles": [
"lib/App/Ack/ConfigFinder.pm",
"lib/App/Ack/ConfigLoader.pm"
],
"programRoutines": [
{
"name": "App::Ack::ConfigFinder::find_config_files"
},
{
"name": "App::Ack::ConfigLoader::_process_other"
}
],
"repo": "https://github.com/beyondgrep/ack3",
"versions": [
{
"version": "0",
"lessThanOrEqual": "3.10.0",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-08T15:21:08.032707Z",
"id": "CVE-2026-49145",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-73"
},
{
"lang": "en",
"value": "CWE-426"
}
]
}
],
"references": [
{
"url": "https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/07/08/7",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}