Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data".
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.
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: 9.4
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade python3.11-testUpgrade python39-rpm-macrosUpgrade python3.12-debugUpgrade python39-pipUpgrade python39-urllib3Upgrade python3.12-develUpgrade python39-psutilUpgrade python39-tomlUpgrade python3Upgrade python39-plyUpgrade python39-cryptographyUpgrade python3.11-develUpgrade python39-pyparsingUpgrade python3-libsUpgrade python39-pybind11-develUpgrade python3.11-debugUpgrade python3-idleUpgrade python39-pysocksUpgrade python39-CythonUpgrade python3-tkinterUpgrade platform-python-debugUpgrade python39-pyUpgrade python-unversioned-commandUpgrade python3.12-libsUpgrade python39-tkinterUpgrade python39-psycopg2-testsUpgrade python39-setuptoolsUpgrade python39-numpyUpgrade python39-idnaUpgrade python39-iniconfigUpgrade python39-pytestUpgrade python39-PyMySQLUpgrade python39-sixUpgrade python3-develUpgrade python3.11Upgrade python3-debugUpgrade platform-python-develUpgrade python39-setuptools-wheelUpgrade python39-scipyUpgrade python39-more-itertoolsUpgrade python39-idleUpgrade python39-develUpgrade python3.12-tkinterUpgrade python39-pluggyUpgrade python39-psycopg2Upgrade python3.12Upgrade python39-debugUpgrade python39-psycopg2-docUpgrade python39-attrsUpgrade python39Upgrade python3.11-libsUpgrade python39-numpy-docUpgrade python39-chardetUpgrade platform-pythonUpgrade python39-libsUpgrade python39-packagingUpgrade python39-requestsUpgrade python3.11-tkinterUpgrade python39-pyyamlUpgrade python39-pybind11Upgrade python3.12-idleUpgrade python3.12-testUpgrade python39-testUpgrade python39-mod_wsgiUpgrade python39-pycparserUpgrade python3.11-rpm-macrosUpgrade python3.11-idleUpgrade python39-pip-wheelUpgrade python39-lxmlUpgrade python39-wcwidthUpgrade python39-wheelUpgrade python39-wheel-wheelUpgrade python39-numpy-f2pyUpgrade python39-cffiUpgrade python3.12-rpm-macrosUpgrade python3-test | Jul 3, 2025 | Jun 3, 2025 |
| Alpine Linux | — | Upgrade python3-tkinterUpgrade python3 | Aug 8, 2025 | Jun 3, 2025 |
| Amazon_linux_2023 | — | Upgrade python3.9-debuginfoUpgrade python3-debugUpgrade python3-develUpgrade python3.11-debugsourceUpgrade python3.12Upgrade python3.12-debuginfoUpgrade python3.11-libsUpgrade python3.11-idleUpgrade python3-idleUpgrade python3Upgrade python3.12-libsUpgrade python3.11-debuginfoUpgrade python3.12-testUpgrade python3.12-debugUpgrade python3.11-debugUpgrade python3.12-debugsourceUpgrade python3.12-idleUpgrade python-unversioned-commandUpgrade python3-testUpgrade python3.12-develUpgrade python3.12-tkinterUpgrade python3.11-tkinterUpgrade python3.11-develUpgrade python3.11-testUpgrade python3.9-debugsourceUpgrade python3-tkinterUpgrade python3.11Upgrade python3-libs | 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_sp11 | — | Upgrade python3-unversioned-commandUpgrade python3 | Oct 14, 2025 | Oct 10, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade python3-fgoUpgrade python3-unversioned-commandUpgrade python3 | Nov 12, 2025 | Oct 10, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade python3Upgrade python3-unversioned-commandUpgrade python3-fgo | Oct 24, 2025 | Oct 10, 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 Missing Cpu Oct 2025 | — | Apply the October 2025 Critical Patch Update (CPU) for Oracle Database | Oct 22, 2025 | Jun 3, 2025 |
| Oracle_linux | — | Upgrade python39-attrsUpgrade python39-more-itertoolsUpgrade python39-testUpgrade python3.11-rpm-macrosUpgrade python39-develUpgrade python3-testUpgrade platform-pythonUpgrade python39-libsUpgrade python39-psycopg2-testsUpgrade python39-pyUpgrade python39-pytestUpgrade python-unversioned-commandUpgrade python3.12-develUpgrade python39-packagingUpgrade python3.11Upgrade python39-wheelUpgrade python39-pybind11Upgrade python39-PyMySQLUpgrade python39-requestsUpgrade python39-setuptoolsUpgrade python39-numpy-docUpgrade python39-debugUpgrade platform-python-debugUpgrade python39-wheel-wheelUpgrade python3.11-testUpgrade python39-pluggyUpgrade python3.11-tkinterUpgrade python3.12-tkinterUpgrade python39-pip-wheelUpgrade python3-libsUpgrade python39-tkinterUpgrade python3.12-rpm-macrosUpgrade python39-iniconfigUpgrade python39-pyyamlUpgrade python3.11-idleUpgrade platform-python-develUpgrade python3.11-debugUpgrade python39-pysocksUpgrade python39-pipUpgrade python3.11-libsUpgrade python39-mod_wsgiUpgrade python39-rpm-macrosUpgrade python39-pybind11-develUpgrade python3.12Upgrade python3-idleUpgrade python39-cffiUpgrade python39-urllib3Upgrade python39-setuptools-wheelUpgrade python39-pycparserUpgrade python39-lxmlUpgrade python39-CythonUpgrade python3.12-testUpgrade python3.12-libsUpgrade python3Upgrade python39-scipyUpgrade python3-tkinterUpgrade python3.12-debugUpgrade python39-psycopg2Upgrade python39-psutilUpgrade python39-psycopg2-docUpgrade python39Upgrade python39-wcwidthUpgrade python39-tomlUpgrade python39-numpy-f2pyUpgrade python39-numpyUpgrade python3-debugUpgrade python39-cryptographyUpgrade python3.12-idleUpgrade python39-idnaUpgrade python39-sixUpgrade python39-plyUpgrade python39-pyparsingUpgrade python39-idleUpgrade python39-chardetUpgrade python3-develUpgrade python3.11-devel | Jul 2, 2025 | Jun 3, 2025 |
| Redhat_linux | — | Upgrade python39-pyyamlUpgrade python39-iniconfigUpgrade python3.12-idleUpgrade python39-plyUpgrade python39-psycopg2-testsUpgrade python3.11-testUpgrade python3-debuginfoUpgrade python3-tkinterUpgrade python3.12-testUpgrade python39-lxmlUpgrade python-unversioned-commandUpgrade python39-pluggyUpgrade python3.12-rpm-macrosUpgrade python39-psutil-debuginfoUpgrade platform-python-develUpgrade python39-tomlUpgrade python3-idleUpgrade python-cryptography-debugsourceUpgrade python39-pybind11-develUpgrade python39-pyparsingUpgrade python39-psycopg2-docUpgrade python39-develUpgrade python39-libsUpgrade Cython-debugsourceUpgrade python39-numpyUpgrade python39-scipy-debuginfoUpgrade platform-python-debugUpgrade python3.11Upgrade python39-CythonUpgrade python3.12-debugsourceUpgrade python39-numpy-docUpgrade python39-tkinterUpgrade python-lxml-debugsourceUpgrade python3.12-develUpgrade python3.9-debugsourceUpgrade python39-pyUpgrade python3.11-debuginfoUpgrade PyYAML-debugsourceUpgrade python39-Cython-debuginfoUpgrade python39-cffi-debuginfoUpgrade python3-develUpgrade python39-packagingUpgrade python39-PyMySQLUpgrade python39-attrsUpgrade python39-more-itertoolsUpgrade python39-lxml-debuginfoUpgrade python3.11-tkinterUpgrade python39-testUpgrade python39-requestsUpgrade python39-debuginfoUpgrade python39-pybind11Upgrade python3-libsUpgrade python39-rpm-macrosUpgrade python39-numpy-f2pyUpgrade python3.11-libsUpgrade python3.9-debuginfoUpgrade python39-debugUpgrade python39-wcwidthUpgrade python39-scipyUpgrade python39-setuptools-wheelUpgrade scipy-debugsourceUpgrade python39-psycopg2-debuginfoUpgrade python3.11-idleUpgrade python39-idnaUpgrade python39-debugsourceUpgrade python39-pysocksUpgrade python39-idleUpgrade python39-urllib3Upgrade python39-setuptoolsUpgrade python39-chardetUpgrade python39-pipUpgrade python39-cryptography-debuginfoUpgrade python3.11-develUpgrade python3.12-debugUpgrade python-psutil-debugsourceUpgrade python39-sixUpgrade python39-pip-wheelUpgrade python3-testUpgrade python39-pytestUpgrade python39-mod_wsgiUpgrade python39-numpy-debuginfoUpgrade python3.11-debugsourceUpgrade numpy-debugsourceUpgrade python39-cffiUpgrade python39-pyyaml-debuginfoUpgrade python39-psycopg2Upgrade python39-wheel-wheelUpgrade python39-psutilUpgrade python3.12-libsUpgrade python39-cryptographyUpgrade python39Upgrade python3-debugUpgrade python3.12-debuginfoUpgrade python3.11-rpm-macrosUpgrade python-psycopg2-debugsourceUpgrade python-cffi-debugsourceUpgrade python39-wheelUpgrade platform-pythonUpgrade python3Upgrade python39-pycparserUpgrade python3-debugsourceUpgrade python3.12-tkinterUpgrade python3.12Upgrade python3.11-debug | Jul 1, 2025 | Jun 3, 2025 |
| Rocky_linux | — | Upgrade python39-psutil-debuginfoUpgrade python3.11Upgrade python39-psycopg2-docUpgrade python-cffi-debugsourceUpgrade python3.12-idleUpgrade python3Upgrade python39-debugsourceUpgrade PyYAML-debugsourceUpgrade python3.11-develUpgrade python39-scipyUpgrade python3.12-tkinterUpgrade python39-cffiUpgrade scipy-debugsourceUpgrade numpy-debugsourceUpgrade python39-numpy-debuginfoUpgrade python3.12-debuginfoUpgrade python3-debugUpgrade python39-debugUpgrade python39-psycopg2-debuginfoUpgrade python39-psutilUpgrade python3-testUpgrade python39-develUpgrade platform-python-debugUpgrade python3-develUpgrade python39-psycopg2-testsUpgrade python39-cryptographyUpgrade python39-numpyUpgrade python39-pybind11-develUpgrade python3.11-tkinterUpgrade python3.11-debuginfoUpgrade python3-idleUpgrade python3.11-testUpgrade python39-idleUpgrade python39-pybind11Upgrade python39-lxmlUpgrade python3.11-libsUpgrade python-lxml-debugsourceUpgrade python-cryptography-debugsourceUpgrade Cython-debugsourceUpgrade python-psycopg2-debugsourceUpgrade python3.12-develUpgrade python3.12-debugsourceUpgrade python39-debuginfoUpgrade python39-pyyamlUpgrade python39-testUpgrade python39-numpy-f2pyUpgrade python39-CythonUpgrade python39-cffi-debuginfoUpgrade python3.12-testUpgrade python3.11-idleUpgrade platform-python-develUpgrade python39-scipy-debuginfoUpgrade python39-Cython-debuginfoUpgrade python3-tkinterUpgrade python39-libsUpgrade python3-libsUpgrade python39-lxml-debuginfoUpgrade python3.11-debugsourceUpgrade python39-cryptography-debuginfoUpgrade python3.12-debugUpgrade python-psutil-debugsourceUpgrade python39-tkinterUpgrade platform-pythonUpgrade python3.11-debugUpgrade python39Upgrade python39-psycopg2Upgrade python3.12Upgrade python39-mod_wsgiUpgrade python3.12-libsUpgrade python39-pyyaml-debuginfo | Feb 5, 2026 | Dec 18, 2025 |
| Suse | — | Upgrade python312-idleUpgrade python311-baseUpgrade python311-develUpgrade python311-toolsUpgrade python312-develUpgrade python312-dbmUpgrade python3-toolsUpgrade python313-baseUpgrade libpython3_11-1_0-32bitUpgrade libpython3_12-1_0Upgrade python312-cursesUpgrade python310-toolsUpgrade python313-develUpgrade python313-doc-devhelpUpgrade python39-baseUpgrade python3-develUpgrade python36Upgrade python310-32bitUpgrade python3-idleUpgrade python311-docUpgrade libpython3_4m1_0-32bitUpgrade python313-x86-64-v3Upgrade python39-testsuiteUpgrade libpython3_13-1_0Upgrade python310Upgrade libpython3_6m1_0-32bitUpgrade python310-develUpgrade python311-base-32bitUpgrade python310-baseUpgrade python39-toolsUpgrade libpython3_11-1_0Upgrade python312-toolsUpgrade python310-docUpgrade python3-doc-devhelpUpgrade python312-testsuiteUpgrade python313Upgrade python313-toolsUpgrade python312-base-32bitUpgrade python313-tkUpgrade python3-dbmUpgrade libpython3_6m1_0Upgrade python3-baseUpgrade python39-develUpgrade python39-idleUpgrade libpython3_10-1_0-32bitUpgrade python3-docUpgrade python39-tkUpgrade libpython3_10-1_0Upgrade python311-dbmUpgrade python310-cursesUpgrade libpython3_13-1_0-x86-64-v3Upgrade python312-32bitUpgrade python313-idleUpgrade python312-baseUpgrade python3-tkUpgrade python39-base-32bitUpgrade python39Upgrade python310-base-32bitUpgrade python39-docUpgrade python313-cursesUpgrade python3Upgrade python313-docUpgrade python39-32bitUpgrade python310-testsuiteUpgrade python310-dbmUpgrade python3-testsuiteUpgrade python3-cursesUpgrade libpython3_9-1_0Upgrade python39-doc-devhelpUpgrade libpython3_9-1_0-32bitUpgrade python311Upgrade python310-tkUpgrade python39-cursesUpgrade python312Upgrade python311-testsuiteUpgrade python313-base-x86-64-v3Upgrade python36-baseUpgrade python312-tkUpgrade python311-idleUpgrade python311-32bitUpgrade python310-idleUpgrade python39-dbmUpgrade python311-tkUpgrade libpython3_12-1_0-32bitUpgrade python36-develUpgrade python312-doc-devhelpUpgrade python312-docUpgrade python311-doc-devhelpUpgrade python310-doc-devhelpUpgrade libpython3_4m1_0Upgrade python313-dbmUpgrade python311-curses | Jun 23, 2025 | Jun 3, 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 9, 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