cve.bz

CVE-2026-4360 python python: Improper Preservation of Permissions

2.0 lowEPSS 0.5%Fix available

Low (2.0) in python python. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

2.0 low
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-281 Improper Preservation of Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-4360 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-4360?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-4360?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-4360 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.10.21
Python Software Foundation CPythonfrom 3.11.0 before 3.11.16
Python Software Foundation CPythonfrom 3.12.0 before 3.12.14
Python Software Foundation CPythonfrom 3.13.0 before 3.13.15
Python Software Foundation CPythonfrom 3.14.0 before 3.14.7
Python Software Foundation CPythonfrom 3.15.0a1 before 3.15.0b4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13pypy3no fix listedDEBIAN-CVE-2026-4360
Debian13python3.133.13.5-2+deb13u5DEBIAN-CVE-2026-4360
Debian14pypy38.0.0+dfsg-1DEBIAN-CVE-2026-4360
Debian14python3.143.14.7-1DEBIAN-CVE-2026-4360
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.18UBUNTU-CVE-2026-4360 USN-8744-1
Ubuntu24.04:LTSpython3.123.12.3-1ubuntu0.17UBUNTU-CVE-2026-4360 USN-8744-1
Ubuntu25.10python3.13, python3.14no fix listedUBUNTU-CVE-2026-4360
Ubuntu26.04:LTSpython3.143.14.4-1ubuntu0.2UBUNTU-CVE-2026-4360 USN-8744-1
UbuntuPro:14.04:LTSpython2.72.7.6-8ubuntu0.6+esm30USN-8744-1
UbuntuPro:14.04:LTSpython3.43.4.3-1ubuntu1~14.04.7+esm21USN-8744-1
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm11USN-8744-1
UbuntuPro:16.04:LTSpython2.72.7.12-1ubuntu0~16.04.18+esm22USN-8744-1
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm25USN-8744-1
UbuntuPro:18.04:LTSpython2.72.7.17-1~18.04ubuntu1.13+esm15USN-8744-1
UbuntuPro:18.04:LTSpython3.63.6.9-1~18.04ubuntu1.13+esm10USN-8744-1
UbuntuPro:18.04:LTSpython3.73.7.5-2ubuntu1~18.04.2+esm11USN-8744-1
6 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hathummingbird:1python3, python3.14, python3-idle and 13 more0:3.14.6-2.1.hum1RHSA-2026:47892
Red Hathummingbird:1python3, python3.14, python3-idle and 13 more0:3.14.7-1.hum1RHSA-2026:54534
Red Hathummingbird:1python3.10, python3.10-idle, python3.10-libs and 4 more0:3.10.20-3.1.hum1RHSA-2026:47896
Red Hathummingbird:1python3.11, python3.11-idle, python3.11-libs and 4 more0:3.11.15-5.4.hum1RHSA-2026:47915
Red Hathummingbird:1python3.12, python3.12-idle, python3.12-libs and 4 more0:3.12.13-3.7.hum1RHSA-2026:47930
Red Hathummingbird:1python3.13, python3.13-idle, python3.13-libs and 6 more0:3.13.14-1.6.hum1RHSA-2026:47926
Red Hathummingbird:1python3.13, python3.13-idle, python3.13-libs and 6 more0:3.13.15-1.hum1RHSA-2026:54554
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy, saltbundlepy-core3.11.15-90002.4.15.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cffi1.17.1-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cryptography3.3.2-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cssselect1.3.0-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-editables0.5-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-exceptiongroup, saltbundlepy-exceptiongroup-test1.2.2-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-flit-core3.12.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-fancy-pypi-readme, saltbundlepy-hatch-fancy-pypi-readme-test25.1.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-vcs, saltbundlepy-hatch-vcs-test0.5.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatchling1.31.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-idna3.10-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-iniconfig2.1.0-90002.3.3.1SUSE-SU-2026:4582-1
137 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0python313, python313-core, python313-nogil and 2 more3.13.14-160000.2.1openSUSE-SU-2026:21595-1
openSUSETumbleweedpython3103.10.20-8.1openSUSE-SU-2026:11426-1
openSUSETumbleweedpython3113.11.15-8.1openSUSE-SU-2026:11427-1
openSUSETumbleweedpython3123.12.13-8.1openSUSE-SU-2026:11428-1
openSUSETumbleweedpython3133.13.14-2.1openSUSE-SU-2026:11534-1
openSUSETumbleweedpython3143.14.7-1.1openSUSE-SU-2026:11597-1
openSUSETumbleweedpython3153.15.0~b4-1.1openSUSE-SU-2026:11429-1
Alpinev3.21, v3.22, v3.23python33.12.14-r0ALPINE-CVE-2026-4360
Alpinev3.24python33.14.7-r0ALPINE-CVE-2026-4360
Azure Linux3python-pyno fix listedAZL-109710
Azure Linux3python33.12.9-14AZL-91749
Alpaquita23python33.11.15-r6BELL-CVE-2026-4360
Alpaquita25python33.12.13-r6BELL-CVE-2026-4360
Alpaquitastreampython33.14.5-r5BELL-CVE-2026-4360
BellSoft Hardened Containers23python33.11.15-r6BELL-CVE-2026-4360
BellSoft Hardened Containers25python33.12.13-r6BELL-CVE-2026-4360
BellSoft Hardened Containersstreampython33.14.5-r5BELL-CVE-2026-4360

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate flaw in Python's Tarfile module allows a local attacker with low privileges to achieve a high integrity impact. By tricking a user into extracting a specially crafted untrusted tar file containing hardlinks, the attacker could cause files to be written with unexpected ownership, potentially leading to unauthorized file modification.

ProductPackageStateAdvisory
Red Hat Hardened Imagespython3-14-main-3.14.6-2.1.hum1Fixed 2026-07-29RHSA-2026:47892
Red Hat Hardened Imagespython3-10-main-3.10.20-3.1.hum1Fixed 2026-07-29RHSA-2026:47896
Red Hat Hardened Imagespython3-11-main-3.11.15-5.4.hum1Fixed 2026-07-29RHSA-2026:47915
Red Hat Hardened Imagespython3-13-main-3.13.14-1.6.hum1Fixed 2026-07-29RHSA-2026:47926
Red Hat Hardened Imagespython3-12-main-3.12.13-3.7.hum1Fixed 2026-07-29RHSA-2026:47930
Red Hat Hardened Imagespython3-14-main-3.14.7-1.hum1Fixed 2026-08-13RHSA-2026:54534
Red Hat Hardened Imagespython3-13-main-3.13.15-1.hum1Fixed 2026-08-13RHSA-2026:54554
Exploit Intelligenceexploit-intelligence-tech-preview/vulnerability-analysis-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/model-opt-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/model-opt-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-cpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-neuron-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-rocm-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-spyre-rhel9Fix deferred
Red Hat AI Inference Serverrhaiis/vllm-tpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-cpu-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-cuda-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-gaudi-rhel9Fix deferred
Red Hat AI Inference Serverrhaii/vllm-neuron-rhel9Fix deferred
100 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-4360.

References

Check your stackJSON