Vulnerability in Python
CVE-2026-4360
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.
EPSS: 0.003 (18.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Python
- Python Software Foundation Cpython — versions 3.14.0, 0, 3.13.0
Weakness classification (CWE)
References
- cna@python.org (vendor-advisory, Issue Tracking, Vendor Advisory)
- cna@python.org (Patch, patch, Issue Tracking)
- cna@python.org (issue-tracking, Patch, Issue Tracking)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (patch)
- cna@python.org (patch)
Frequently asked questions
- What is CVE-2026-4360?
- CVE-2026-4360 is a medium-severity vulnerability in Python, classified under Improper Preservation of Permissions. CVSS score: 5.3/10. Published 2026-06-30.
- How severe is CVE-2026-4360?
- Medium severity. CVSS v3 base score is 5.3 out of 10.