{"id":"CVE-2026-82049","revision":"b739fd7483da4d5c9f6bc953c22af692","records":[{"revision":"b739fd7483da4d5c9f6bc953c22af692","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-82049","aliases":[],"title":"tarfile extraction filters allow file modification and content disclosure via hard link to symlink","description":"In CPython 3.13 and earlier, the tarfile\u00A0module's data\u00A0and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose the contents of that file within the extracted tree.","state":0,"publishedAt":"2026-09-14T19:14:03.873+00:00","modifiedAt":"2026-10-11T00:39:42.376+00:00","affected":[{"ecosystem":"Vendor product","name":"CPython","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"tarfile\"\n                    ],\n                    \"product\": \"CPython\",\n                    \"repo\": \"https://github.com/python/cpython\",\n                    \"vendor\": \"Python Software Foundation\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"3.10.22\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"python\"\n                        },\n                        {\n                            \"version\": \"3.11.0\",\n                            \"lessThan\": \"3.11.17\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"python\"\n                        },\n                        {\n                            \"version\": \"3.12.0\",\n                            \"lessThan\": \"3.12.15\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"python\"\n                        },\n                        {\n                            \"version\": \"3.13.0\",\n                            \"lessThan\": \"3.13.16\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"python\"\n                        },\n                        {\n                            \"version\": \"3.14.0a1\",\n                            \"lessThan\": \"3.14.0b1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"python\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.4,"severity":"HIGH"}],"references":["https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daeca","https://github.com/python/cpython/issues/157190","https://github.com/python/cpython/pull/157191","https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/","https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3","https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d","https://github.com/python/cpython/commit/197663d63afed27f66e10e23c194e8a634e60913","https://github.com/python/cpython/commit/28f315486b3da0352b9a1de1c3c97f4127ba4771","https://github.com/python/cpython/commit/c66df4e70435d257fd488b35ea129c6f317433a8","https://github.com/python/cpython/commit/cc1689830c6b9aaddded2fb9f2fe8116867e2c0e","https://github.com/python/cpython/commit/cccc7ec30212dba2abef53ce4a2bed112ddb690c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-82049","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-82049","identifiers":["CVE-2026-82049"]},"retained":false,"historicalAffected":[]}],"coverage":[]}