https://seclists.org/oss-sec/2026/q2/1006: [oss-security][CVE-2026-11940] Cpython: tarfile extraction filter bypass allows escaping the destination dictory

Published Jun 23, 2026
·
Updated

Affected Software

1 affected component
Python CPython
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-11940?

CVE-2026-11940 has been classified as HIGH severity.

2

How do I fix CVE-2026-11940?

To fix CVE-2026-11940, upgrade to the latest version of CPython that addresses this vulnerability.

3

What does CVE-2026-11940 exploit?

CVE-2026-11940 exploits a tarfile extraction filter bypass that allows escaping the destination directory.

4

What impact does CVE-2026-11940 have?

CVE-2026-11940 may allow an attacker to overwrite files outside the intended directory during tarfile extraction.

5

In which versions of Python is CVE-2026-11940 present?

CVE-2026-11940 is present in affected versions of Python CPython prior to the patch release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203