CVE Catalog

CVE-2026-4360

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.48%

41th percentile - higher than 41% of all known CVEs

Summary

In the Tarfile.extract() function, the filter parameter is not properly passed when extracting hardlinks. An affected system extracting untrusted tar archives may write files with unexpected uid/gid, even if the user passed filter='data'.

Risk Assessment

An attacker can include a hardlink in the archive that, upon extraction, assigns inappropriate permissions to files, potentially enabling privilege escalation or access to protected data.

Recommendation

Upgrade the tarfile library to a patched version. Avoid extracting archives from untrusted sources without additional validation.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS