Bug 2491848 (CVE-2026-11940) - CVE-2026-11940 python: cpython: CPython: tarfile extraction filter bypass allows escaping the destination directory
Summary: CVE-2026-11940 python: cpython: CPython: tarfile extraction filter bypass all...
Keywords:
Status: NEW
Alias: CVE-2026-11940
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2506027 2506028 2506029
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-23 17:05 UTC by OSIDB Bzimport
Modified: 2026-09-03 05:35 UTC (History)
28 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:54536 0 None None None 2026-08-13 11:25:54 UTC
Red Hat Product Errata RHBA-2026:54596 0 None None None 2026-08-13 15:01:05 UTC
Red Hat Product Errata RHBA-2026:54818 0 None None None 2026-08-14 00:38:31 UTC
Red Hat Product Errata RHBA-2026:56929 0 None None None 2026-08-19 11:24:16 UTC
Red Hat Product Errata RHBA-2026:57014 0 None None None 2026-08-19 15:20:14 UTC
Red Hat Product Errata RHBA-2026:59134 0 None None None 2026-08-24 16:02:49 UTC
Red Hat Product Errata RHBA-2026:59230 0 None None None 2026-08-24 23:13:47 UTC
Red Hat Product Errata RHSA-2026:54268 0 None None None 2026-08-12 11:03:40 UTC
Red Hat Product Errata RHSA-2026:56219 0 None None None 2026-08-18 14:16:11 UTC
Red Hat Product Errata RHSA-2026:58901 0 None None None 2026-08-24 12:29:12 UTC
Red Hat Product Errata RHSA-2026:58902 0 None None None 2026-08-24 11:29:45 UTC
Red Hat Product Errata RHSA-2026:58928 0 None None None 2026-08-24 13:01:13 UTC
Red Hat Product Errata RHSA-2026:58971 0 None None None 2026-08-24 14:35:04 UTC
Red Hat Product Errata RHSA-2026:59009 0 None None None 2026-08-24 16:27:52 UTC
Red Hat Product Errata RHSA-2026:62809 0 None None None 2026-09-02 19:10:45 UTC
Red Hat Product Errata RHSA-2026:63024 0 None None None 2026-09-03 05:35:21 UTC

Description OSIDB Bzimport 2026-06-23 17:05:56 UTC
tarfile.extractall() with the 'data' or 'tar'
 filter could be bypassed by a crafted archive where a hardlink 
references a symlink stored at a deeper name than the hardlink itself.  
The extraction fallback validated the symlink at it's archived location 
but recreated it at the hardlink's shallower
path, letting a relative
 target the filter judged contained escape the destination directory.  
This allowed a malicious tar archive to create a symlink pointing 
outside the destination, enabling out-of-destination file reads or 
writes. This was an incomplete fix of CVE-2025-4330.

Comment 4 errata-xmlrpc 2026-08-12 11:03:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:54268 https://access.redhat.com/errata/RHSA-2026:54268

Comment 5 errata-xmlrpc 2026-08-18 14:16:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:56219 https://access.redhat.com/errata/RHSA-2026:56219

Comment 6 errata-xmlrpc 2026-08-24 11:29:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:58902 https://access.redhat.com/errata/RHSA-2026:58902

Comment 7 errata-xmlrpc 2026-08-24 12:29:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:58901 https://access.redhat.com/errata/RHSA-2026:58901

Comment 8 errata-xmlrpc 2026-08-24 13:01:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:58928 https://access.redhat.com/errata/RHSA-2026:58928

Comment 9 errata-xmlrpc 2026-08-24 14:35:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:58971 https://access.redhat.com/errata/RHSA-2026:58971

Comment 10 errata-xmlrpc 2026-08-24 16:27:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:59009 https://access.redhat.com/errata/RHSA-2026:59009

Comment 11 errata-xmlrpc 2026-09-02 19:10:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:62809 https://access.redhat.com/errata/RHSA-2026:62809

Comment 12 errata-xmlrpc 2026-09-03 05:35:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:63024 https://access.redhat.com/errata/RHSA-2026:63024


Note You need to log in before you can comment on or make changes to this bug.