{"id":"CVE-2026-66484","aliases":["CVE-2026-66484"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal in GNU cpio","summary":"GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the --no-absolute-filenames option, the extracted file name is normalized but the tar hard-link target is passed to the link_to_name function without equivalent sanitization before calling link function. A tar archive provided by an attacker, containing a hard-link entry whose linkname is set to an absolute path outside the extraction directory, can cause cpio to create a hard link to an existing file outside the intended extraction directory, breaking the expected guarantee of --no-absolute-filenames and allowing archive-controlled linkage to external files.\n\nThis issue has been fixed in commit e2b9cbdd3354d2b1569b7390d1bc15c1930559ad","summarySource":"cvelist","descriptions":[{"lang":"en","text":"GNU cpio contains a Path Traversal vulnerability in its tar archive extraction functionality. When extracting a tar archive in copy-in mode with the --no-absolute-filenames option, the extracted file name is normalized but the tar hard-link target is passed to the link_to_name function without equivalent sanitization before calling link function. A tar archive provided by an attacker, containing a hard-link entry whose linkname is set to an absolute path outside the extraction directory, can cause cpio to create a hard link to an existing file outside the intended extraction directory, breaking the expected guarantee of --no-absolute-filenames and allowing archive-controlled linkage to external files.\n\nThis issue has been fixed in commit e2b9cbdd3354d2b1569b7390d1bc15c1930559ad","source":"cvelist"},{"lang":"es","text":"GNU cpio contiene una vulnerabilidad de salto de ruta en su funcionalidad de extracción de archivos tar. Al extraer un archivo tar en modo de copia de entrada (copy-in mode) con la opción --no-absolute-filenames, el nombre del archivo extraído se normaliza, pero el objetivo del enlace duro (hard-link target) de tar se pasa a la función link_to_name sin una sanitización equivalente antes de llamar a la función link. Un archivo tar proporcionado por un atacante, que contiene una entrada de enlace duro (hard-link entry) cuyo linkname está configurado a una ruta absoluta fuera del directorio de extracción, puede hacer que cpio cree un enlace duro a un archivo existente fuera del directorio de extracción previsto, rompiendo la garantía esperada de --no-absolute-filenames y permitiendo el enlace controlado por el archivo a archivos externos.\n\nEste problema ha sido solucionado en el commit e2b9cbdd3354d2b1569b7390d1bc15c1930559ad","source":"nvd"}],"published":"2026-08-10T10:25:27.901Z","modified":"2026-10-24T16:10:00.153Z","severity":{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"CERT-PL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","score":4.6,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2.15","status":"affected"}],"vendor":"GNU","product":"cpio","repo":"https://git.savannah.gnu.org/cgit/cpio.git","source":"cvelist"}],"references":[{"url":"https://cert.pl/en/posts/2026/08/CVE-2026-66484","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://git.savannah.gnu.org/cgit/cpio.git","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Michał Majchrowicz (AFINE Team)","Marcin Wyczechowski (AFINE Team)"],"assigner":"CERT-PL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-10T10:57:05.821Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-66484","url":"https://www.cve.org/CVERecord?id=CVE-2026-66484","licence":"CVE Terms of Use","modified":"2026-08-10T10:57:14.423Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-66484","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66484","licence":"Public domain","modified":"2026-10-24T16:10:00.153Z"}],"updatedAt":"2026-11-25T22:59:31.986Z","epss":{"score":0.00157,"percentile":0.05101,"date":"2026-12-01T12:00:22.000Z"}}