Vulnerability

CVE-2026-4360

lowCVSS 4.0 2.0Published 30 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python python

Weakness type

References

  • github.com /python/cpython/commit/0367912be336348b30572f8029cec4a28278…
  • github.com /python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40…
  • github.com /python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e…
  • github.com /python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a…
  • github.com /python/cpython/commit/cf23b9153181062150d061468b6d24af33fe…
  • github.com /python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf…
  • github.com /python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8…
  • github.com /python/cpython/issues/151987
  • github.com /python/cpython/pull/151988
  • mail.python.org /archives/list/security-announce@python.org/thread/TWZW2PC2…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning