← Search CVEs

CVE-2026-11940

HIGH 7.8 ALL-YEARS

Published 2026-06-23 · Last modified 2026-08-13 · PSF · NVD: Awaiting Analysis

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.

ELEVATED IMPACT

Severe if exploited (CVSS 7.8); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.

Exploitation likelihood

0.8%chance of exploitation in 30 days · 56th percentile

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable yes

Impact if exploited

7.8CVSS 4.0 · HIGH · CNA

  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ✓User interaction: No user interaction needed
  • ✓Complexity: No special conditions — reliably repeatable
  • ✓Requirements: No special attack requirements

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Affected

Vendors Python Software Foundation

Products CPython

Weakness (CWE)

  • CWE-22: Path traversal
  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 1303 vendor product statements; 1271 omitted. Read the full vendor advisory.

  • python-unversioned-command-0:3.12.9-2.el10_0.11.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v. 10.0) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python-unversioned-command@3.12.9-2.el10_0.11?arch=noarch

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.12-devel-0:3.12.14-1.el8_10.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3.12-devel@3.12.14-1.el8_10?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.12-libs-0:3.12.1-4.el9_4.15.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.4) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3.12-libs@3.12.1-4.el9_4.15?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.14-debuginfo-0:3.14.7-2.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3.14-debuginfo@3.14.7-2.el9_8?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3-libs-0:3.6.8-47.el8_6.15.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3-libs@3.6.8-47.el8_6.15?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3-debug-0:3.12.14-1.el10_2.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3-debug@3.12.14-1.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3-tkinter-0:3.9.21-2.el9_6.7.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.6) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3-tkinter@3.9.21-2.el9_6.7?arch=i686

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.14-freethreading-devel-0:3.14.7-2.el9_8.aarch64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3.14-freethreading-devel@3.14.7-2.el9_8?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.12-idle-0:3.12.13-3.5.hum1@aarch64 as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3.12-idle@3.12.13-3.5.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • registry.redhat.io/rhai/base-image-cpu-rhel9@sha256:662e63cc2613188c73ba5b1c24a859944cada9687e31802cfeb01a61248dddf1_s390x as a component of Red Hat OpenShift AI 3.2 · fixed

    Vendor assessment for this product only.

    pkg:oci/base-image-cpu-rhel9@sha256%3A662e63cc2613188c73ba5b1c24a859944cada9687e31802cfeb01a61248dddf1?arch=s390x&repository_url=registry.redhat.io/rhai/base-image-cpu-rhel9&tag=1791232203

    • vendor fix: For more information visit https://access.redhat.com/errata/RHSA-2026:81128 Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • registry.redhat.io/rhui5/rhua-tp-rhel9@sha256:2dc99bbbcad15bd50b1ad227f6d4557f5b17fed7388e3eb127c058e3f4636b15_amd64 as a component of Red Hat Update Infrastructure 5 · fixed

    Vendor assessment for this product only.

    pkg:oci/rhua-tp-rhel9@sha256%3A2dc99bbbcad15bd50b1ad227f6d4557f5b17fed7388e3eb127c058e3f4636b15?arch=amd64&repository_url=registry.redhat.io/rhui5/rhua-tp-rhel9&tag=1787241260

    • vendor fix: Please consult the RHUI Technology Preview Release Notes at https://access.redhat.com/articles/7141172 for instructions on how to use this image set. Vendor guidance
    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • Cython.src (python38:3.8) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/Cython?arch=src&rpmmod=python38:3.8

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python-cryptography.src (python38:3.8) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python-cryptography?arch=src&rpmmod=python38:3.8

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python-pycparser.src (python38:3.8) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python-pycparser?arch=src&rpmmod=python38:3.8

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.11-idle as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3.11-idle

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Will not fix
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python38-devel (python38:3.8) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python38-devel?rpmmod=python38:3.8

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python38-psycopg2-doc (python38:3.8) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python38-psycopg2-doc?rpmmod=python38:3.8

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python38-urllib3 (python38:3.8) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python38-urllib3?rpmmod=python38:3.8

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python39-mod_wsgi (python39:3.9) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python39-mod_wsgi?rpmmod=python39:3.9

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python39-rpm-macros (python39:3.9) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python39-rpm-macros?rpmmod=python39:3.9

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3x-pip.src (python39:3.9) as a component of Red Hat Enterprise Linux 8 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3x-pip?arch=src&rpmmod=python39:3.9

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Out of support scope
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.11.src as a component of Red Hat Enterprise Linux 9 · known affected

    Vendor assessment for this product only.

    pkg:rpm/redhat/python3.11?arch=src

    • workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    • no fix planned: Will not fix
    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • registry.redhat.io/discovery/discovery-ui-rhel9@sha256:39e32df84e26a6d882fd2f18d6a9981e5dd77ddfcd7fc18f1553d0ba726019a3_amd64 as a component of Red Hat Discovery 2 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:oci/discovery-ui-rhel9@sha256%3A39e32df84e26a6d882fd2f18d6a9981e5dd77ddfcd7fc18f1553d0ba726019a3?arch=amd64&repository_url=registry.redhat.io/discovery/discovery-ui-rhel9&tag=1786634825

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python.src as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python?arch=src

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python.src as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python?arch=src

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3.src as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python3?arch=src

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python-pygments.src (python36:3.6) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python-pygments?arch=src&rpmmod=python36:3.6

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3-PyMySQL (python36:3.6) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python3-PyMySQL?rpmmod=python36:3.6

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python3-pymongo (python36:3.6) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python3-pymongo?rpmmod=python36:3.6

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • python36-rpm-macros (python36:3.6) as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python36-rpm-macros?rpmmod=python36:3.6

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • rhelai1/bootc-gcp-nvidia-rhel9 as a component of Red Hat Enterprise Linux AI (RHEL AI) · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:oci/bootc-gcp-nvidia-rhel9?repository_url=registry.redhat.io/rhelai1/bootc-gcp-nvidia-rhel9

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00
  • rhelai1/modelcar-granite-3-1-8b-starter-v2-1 as a component of Red Hat Enterprise Linux AI (RHEL AI) · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:oci/modelcar-granite-3-1-8b-starter-v2-1?repository_url=registry.redhat.io/rhelai1/modelcar-granite-3-1-8b-starter-v2-1

    Red Hat · CVE-2026-11940 · Updated 2026-11-04T22:03:31+00:00

All CVSS metrics

  • HIGH 7.8 v4.0 · CNA Primary
    CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
  • HIGH 7.8 v4.0 · NVD Secondary
    CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

References

Patches & mitigations

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS