CVE-2026-4360
CVE-2026-4360 is a medium-severity vulnerability in Python with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-281.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v4: 2.0
- EPSS exploit prediction: 0% (20th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-281
- Affected product: Python
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-4360?
- CVE-2026-4360 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability none.
- Is CVE-2026-4360 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (20th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-4360?
- CVE-2026-4360 affects Python. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-4360?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2026-4360 published?
- CVE-2026-4360 was published on 2026-06-30 and last updated on 2026-08-13.
References
- https://github.com/python/cpython/commit/0367912be336348b30572f8029cec4a282782d92
- https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0
- https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301
- https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a
- https://github.com/python/cpython/commit/cf23b9153181062150d061468b6d24af33fe214f
- https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44
- https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e
- https://github.com/python/cpython/issues/151987
- https://github.com/python/cpython/pull/151988
- https://mail.python.org/archives/list/[email protected]/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/
Affected products (1)
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
More vulnerabilities in Python
- CVE-2008-5031 — Critical (CVSS 10.0): Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown…
- CVE-2022-48565 — Critical (CVSS 9.8): An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity…
- CVE-2022-37454 — Critical (CVSS 9.8): The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow…
- CVE-2021-29921 — Critical (CVSS 9.8): In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string.…
- CVE-2021-3177 — Critical (CVSS 9.8): Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code…
- CVE-2020-27619 — Critical (CVSS 9.8): In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via…
Other CWE-281 (Improper Preservation of Permissions) vulnerabilities
- CVE-2024-36532 — Critical (CVSS 10.0): Insecure permissions in kruise v1.6.2 allows attackers to access sensitive data and escalate privileges by obtaining…
- CVE-2024-56973 — Critical (CVSS 9.8): Insecure Permissions vulnerability in Alvaria, Inc Unified IP Unified Director before v.7.2SP2 allows a remote attacker…
- CVE-2024-46622 — Critical (CVSS 9.8): An Escalation of Privilege security vulnerability was found in SecureAge Security Suite software 7.0.x before 7.0.38,…
- CVE-2024-55507 — Critical (CVSS 9.8): An issue in CodeAstro Complaint Management System v.1.0 allows a remote attacker to escalate privileges via the…
- CVE-2024-54465 — Critical (CVSS 9.8): A logic issue was addressed with improved state management. This issue is fixed in macOS Sequoia 15.2. An app may be…
- CVE-2024-41650 — Critical (CVSS 9.8): Insecure Permissions vulnerability in Open Robotics Robotic Operating System 2 ROS2 navigation2 v.humble allows an…
Browse all CWE-281 (Improper Preservation of Permissions) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 187.62.205.20 (ipv4-addr)
- 165.227.217.111 (ipv4-addr)
- 103.44.14.22 (ipv4-addr)
- 182.191.69.70 (ipv4-addr)
- 8.211.195.173 (ipv4-addr)