2.0Baja

CVE-2026-4360Tarfile.extract() doesn't fully respect filter parameter

Python Software Foundation CPython Publicada: (hace 4 meses)

Descripción

In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.

Debilidad (CWE): CWE-281

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Python Software Foundation CPython < 3.10.21, 3.11.0 – < 3.11.16, 3.12.0 – < 3.12.14, 3.13.0 – < 3.13.15, 3.14.0 – < 3.14.7, 3.15.0a1 – < 3.15.0b4
python python < 3.1.5

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:python:python:*:*:*:*:*:*:*:* < 3.1.5