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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:python:python:*:*:*:*:*:*:*:*

History

09 Jul 2026, 02:40

Type Values Removed Values Added
CPE cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
References () https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0 - () https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0 - Patch
References () https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301 - () https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301 - Patch
References () https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a - () https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a - Patch
References () https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44 - () https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44 - Patch
References () https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e - () https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e - Patch
References () https://github.com/python/cpython/issues/151987 - () https://github.com/python/cpython/issues/151987 - Issue Tracking, Patch
References () https://github.com/python/cpython/pull/151988 - () https://github.com/python/cpython/pull/151988 - Issue Tracking, Patch
References () https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/ - () https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/ - Issue Tracking, Vendor Advisory
First Time Python
Python python
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3

07 Jul 2026, 18:16

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44 -

30 Jun 2026, 16:16

Type Values Removed Values Added
References
  • () 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/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e -

30 Jun 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-30 15:16

Updated : 2026-07-09 02:40


NVD link : CVE-2026-4360

Mitre link : CVE-2026-4360

CVE.ORG link : CVE-2026-4360


JSON object : View

Products Affected

python

  • python
CWE
CWE-281

Improper Preservation of Permissions