{"id":"CVE-2026-87910","aliases":["CVE-2026-87910","PSF-2026-40","BIT-LIBPYTHON-2026-87910","BIT-PYTHON-2026-87910","BIT-PYTHON-MIN-2026-87910"],"related":[],"kind":"vulnerability","state":"published","title":"tarfile hardlink fallback ignores custom extraction filter rejection via None","summary":"When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.","source":"cvelist"}],"published":"2026-09-11T17:27:04.339Z","modified":"2026-10-29T12:45:02.636Z","severity":{"scorer":"PSF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"PSF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":5.7,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-22","CWE-59"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.10.22","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.17","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.15","status":"affected"},{"type":"python","introduced":"3.13.0","fixed":"3.13.16","status":"affected"},{"type":"python","introduced":"3.14.0","fixed":"3.14.9","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0rc3","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"d9565e54b1fc6d63c5be9afd58114499128fa57b"},{"type":"git","status":"affected","fixed":"fb2f0bbc3b35264f09cc2cb2934b7987527a6bc2"},{"type":"git","status":"affected","fixed":"9c17bace90f88dfba6d0e2fe23c8e7ae35f83955"},{"type":"git","status":"affected","fixed":"764fd0af8d9e19d3684a58d2e58bf770f0605036"},{"type":"git","status":"affected","fixed":"2eb0c2f1dc71847731b6ab30aebefd058d482a7f"},{"type":"git","status":"affected","fixed":"c1f106d240c4ffcb3608ed0a20e8aba6c865f6d3"},{"type":"git","status":"affected","fixed":"3105a3498aaf681ce128cf5baf83c2e5574267c5"},{"type":"git","status":"affected","fixed":"a4919937a4e1e69a0d178909c6f20557eca5d1d0"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.22"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.17"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.15"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.16"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.9"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.22"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.17"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.15"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.16"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.9"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.10.22"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.17"},{"type":"semver","introduced":"3.12.0","status":"affected","fixed":"3.12.15"},{"type":"semver","introduced":"3.13.0","status":"affected","fixed":"3.13.16"},{"type":"semver","introduced":"3.14.0","status":"affected","fixed":"3.14.9"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/57TBTLL2W6APMZR3A25B2YV7GL3EPTDJ/","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/pull/157266","tags":["patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/157265","tags":["issue-tracking","report","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/d9565e54b1fc6d63c5be9afd58114499128fa57b","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/fb2f0bbc3b35264f09cc2cb2934b7987527a6bc2","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/9c17bace90f88dfba6d0e2fe23c8e7ae35f83955","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/764fd0af8d9e19d3684a58d2e58bf770f0605036","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/2eb0c2f1dc71847731b6ab30aebefd058d482a7f","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/c1f106d240c4ffcb3608ed0a20e8aba6c865f6d3","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/3105a3498aaf681ce128cf5baf83c2e5574267c5","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/a4919937a4e1e69a0d178909c6f20557eca5d1d0","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/11/8","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87910","tags":["web"],"sources":["bitnami"]}],"credits":["William Woodruff (https://github.com/woodruffw)","Zanie Blue (https://github.com/zanieb)","Petr Viktorin (https://github.com/encukou)","Stan Ulbrych (https://github.com/StanFromIreland)"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-11T19:23:39.973Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-87910","url":"https://www.cve.org/CVERecord?id=CVE-2026-87910","licence":"CVE Terms of Use","modified":"2026-10-22T00:31:28.666Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2026-40","url":"https://osv.dev/vulnerability/PSF-2026-40","licence":"CC-BY-4.0","modified":"2026-10-02T02:00:04.675Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-87910","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87910","licence":"Public domain","modified":"2026-10-22T01:16:59.773Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2026-87910","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-87910","licence":"Apache-2.0","modified":"2026-10-29T12:45:02.636Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2026-87910","url":"https://osv.dev/vulnerability/BIT-PYTHON-2026-87910","licence":"Apache-2.0","modified":"2026-10-29T12:45:02.617Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2026-87910","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-87910","licence":"Apache-2.0","modified":"2026-10-29T12:45:02.602Z"}],"updatedAt":"2026-11-25T22:59:37.971Z","epss":{"score":0.00609,"percentile":0.50542,"date":"2026-12-01T12:00:22.000Z"}}