Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier versions don't include the extraction filter feature.
Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected.
Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.
CVSS Details
- CVSS 3.1 Base Score: 5.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade platform-python-develUpgrade python3.11-idleUpgrade python3.12-testUpgrade python3-testUpgrade python3.11-rpm-macrosUpgrade python3-develUpgrade python3-tkinterUpgrade python3-debugUpgrade python3.12Upgrade python3.12-idleUpgrade platform-pythonUpgrade python3.12-develUpgrade python3-libsUpgrade python3.12-debugUpgrade python3.12-libsUpgrade python3.11-debugUpgrade python3.11-tkinterUpgrade python3.12-rpm-macrosUpgrade python3.11-libsUpgrade python3.11-testUpgrade python3.12-tkinterUpgrade python3Upgrade python3.11-develUpgrade platform-python-debugUpgrade python-unversioned-commandUpgrade python3-idleUpgrade python3.11 | Jul 3, 2025 | Jun 3, 2025 |
| Alpine Linux | — | Upgrade python3-tkinterUpgrade python3 | Aug 8, 2025 | Jun 3, 2025 |
| Amazon_linux_2023 | — | Upgrade python3.12-debugUpgrade python3.12-debuginfoUpgrade python3.12Upgrade python3.11-debugsourceUpgrade python3.11-debuginfoUpgrade python3.12-libsUpgrade python3.11-debugUpgrade python3Upgrade python3.12-idleUpgrade python3.12-testUpgrade python3-debugUpgrade python3-testUpgrade python3.11-idleUpgrade python3.11-develUpgrade python3.12-tkinterUpgrade python3.11-libsUpgrade python3.11-testUpgrade python-unversioned-commandUpgrade python3-idleUpgrade python3-tkinterUpgrade python3.12-debugsourceUpgrade python3.12-develUpgrade python3.11-tkinterUpgrade python3-libsUpgrade python3.11Upgrade python3.9-debuginfoUpgrade python3-develUpgrade python3.9-debugsource | Jun 24, 2025 | Jun 3, 2025 |
| Debian | — | No solution existsUpgrade python3.13 | Jun 5, 2025 | Jun 3, 2025 |
| Dell Powerstore Dsa2025429 | — | Upgrade Dell PowerStoreOS to the latest version | Dec 3, 2025 | Dec 2, 2025 |
| Dell Powerstore Dsa2026039 | — | Upgrade Dell PowerStoreOS to the latest version | Jan 13, 2026 | Jan 6, 2026 |
| Gentoo Linux | — | Upgrade dev-lang/python.Upgrade dev-lang/pypy. | Jun 13, 2025 | Jun 3, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade python3-fgoUpgrade python3Upgrade python3-unversioned-command | Oct 24, 2025 | Oct 23, 2025 |
| Ibm Aix | — | Apply the fix or workaround for python_advisory16 | Sep 25, 2025 | Aug 20, 2025 |
| Nutanix Ahv | — | Upgrade Nutanix AHV to the latest version | Jun 5, 2026 | Aug 26, 2025 |
| Oracle_linux | — | Upgrade python3.11Upgrade python3.11-rpm-macrosUpgrade python3-testUpgrade python3.11-testUpgrade python3.12Upgrade platform-pythonUpgrade python3.12-rpm-macrosUpgrade python3-debugUpgrade python3.12-idleUpgrade python3.12-tkinterUpgrade python3Upgrade python3.11-tkinterUpgrade python-unversioned-commandUpgrade python3.12-testUpgrade python3.11-libsUpgrade platform-python-debugUpgrade python3.11-develUpgrade python3-develUpgrade python3.12-debugUpgrade python3.12-develUpgrade python3-tkinterUpgrade python3-libsUpgrade python3.12-libsUpgrade python3.11-debugUpgrade platform-python-develUpgrade python3-idleUpgrade python3.11-idle | Jul 2, 2025 | Jun 3, 2025 |
| Redhat_linux | — | Upgrade platform-pythonUpgrade python3.11-develUpgrade python3.12-tkinterUpgrade python3.11Upgrade python3.12-libsUpgrade python3.11-rpm-macrosUpgrade python3.12-debugUpgrade python3-tkinterUpgrade python3.12Upgrade python3.12-debuginfoUpgrade python3-debugUpgrade python3-testUpgrade python3.9-debugsourceUpgrade python3.11-debugUpgrade python3Upgrade python3.11-debugsourceUpgrade python3.12-testUpgrade python3.12-idleUpgrade python3.11-idleUpgrade python3.11-tkinterUpgrade platform-python-debugUpgrade python3.11-debuginfoUpgrade python3.12-develUpgrade platform-python-develUpgrade python3-idleUpgrade python3.12-debugsourceUpgrade python3.9-debuginfoUpgrade python3.11-testUpgrade python3.12-rpm-macrosUpgrade python3-develUpgrade python3-debugsourceUpgrade python3-libsUpgrade python3.11-libsUpgrade python-unversioned-commandUpgrade python3-debuginfo | Jul 1, 2025 | Jun 3, 2025 |
| Rocky_linux | — | Upgrade python3.11Upgrade python3.12-develUpgrade platform-python-debugUpgrade python3-debugUpgrade python3Upgrade python3-idleUpgrade python3.12-debugsourceUpgrade platform-python-develUpgrade python3.11-debuginfoUpgrade python3-libsUpgrade python3.11-develUpgrade python3.11-debugUpgrade python3-tkinterUpgrade python3-develUpgrade python3.12-debugUpgrade python3.12-libsUpgrade python3.12-idleUpgrade python3.11-debugsourceUpgrade python3.11-testUpgrade python3.11-idleUpgrade python3.11-tkinterUpgrade platform-pythonUpgrade python3.12-debuginfoUpgrade python3.12-tkinterUpgrade python3-testUpgrade python3.12Upgrade python3.11-libsUpgrade python3.12-test | Feb 5, 2026 | Oct 4, 2025 |
| Suse | — | Upgrade libpython3_12-1_0-32bitUpgrade python3-dbmUpgrade python3-toolsUpgrade python313-base-x86-64-v3Upgrade python310-idleUpgrade python311-tkUpgrade libpython3_10-1_0Upgrade python311Upgrade python39-cursesUpgrade python310-base-32bitUpgrade python311-dbmUpgrade python313-idleUpgrade python310-testsuiteUpgrade python311-testsuiteUpgrade python311-32bitUpgrade python312-32bitUpgrade python3-doc-devhelpUpgrade python312-doc-devhelpUpgrade python312-develUpgrade python312-base-32bitUpgrade python312-docUpgrade python39-baseUpgrade python313-tkUpgrade libpython3_11-1_0Upgrade python39-docUpgrade python310-baseUpgrade python313Upgrade python3-docUpgrade python3Upgrade python311-cursesUpgrade python311-base-32bitUpgrade python311-docUpgrade python311-baseUpgrade python310-dbmUpgrade python3-cursesUpgrade python36-baseUpgrade python3-develUpgrade python312-idleUpgrade python39-dbmUpgrade python39-32bitUpgrade python36-develUpgrade python39-doc-devhelpUpgrade libpython3_13-1_0Upgrade python3-idleUpgrade python3-testsuiteUpgrade python310-docUpgrade python312-toolsUpgrade libpython3_6m1_0Upgrade python39Upgrade python311-idleUpgrade python3-tkUpgrade python313-develUpgrade libpython3_9-1_0Upgrade python39-base-32bitUpgrade python39-toolsUpgrade python312-cursesUpgrade python310-develUpgrade python311-develUpgrade python310Upgrade python39-tkUpgrade python311-doc-devhelpUpgrade python310-toolsUpgrade libpython3_6m1_0-32bitUpgrade python39-develUpgrade python36Upgrade python310-32bitUpgrade python313-docUpgrade python310-cursesUpgrade python312-baseUpgrade python312-dbmUpgrade python313-dbmUpgrade python313-baseUpgrade python312Upgrade python310-doc-devhelpUpgrade libpython3_11-1_0-32bitUpgrade libpython3_13-1_0-x86-64-v3Upgrade python312-testsuiteUpgrade python310-tkUpgrade python39-testsuiteUpgrade python39-idleUpgrade python313-toolsUpgrade python311-toolsUpgrade python313-x86-64-v3Upgrade libpython3_10-1_0-32bitUpgrade libpython3_12-1_0Upgrade libpython3_9-1_0-32bitUpgrade python313-doc-devhelpUpgrade python313-cursesUpgrade python312-tkUpgrade python3-base | Dec 5, 2025 | Jul 2, 2025 |
| Ubuntu | — | Upgrade python3.12Upgrade python3.13 | Jun 20, 2025 | Jun 3, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 10, 2025 | Jun 3, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub