CVE-2026-12345
Last modified
CVE-2026-12345 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup.
Description
The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | < 3.15.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-12345?
How severe is CVE-2026-12345?
How do I fix CVE-2026-12345?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1233The Text to Speech for WP (AI Voices by Mementor) plugin for…7.5
- CVE-2026-12330Incorrect boundary conditions in the Internationalization co…5.4
- CVE-2026-12339A Zip Slip vulnerability in the WebUI ISP Upgrade functional…6.9
- CVE-2026-12340Out-of-bounds heap read during SM2/SM3 certificate signature…7.5
- CVE-2026-12341This vulnerability impacts all versions of IdentityIQ and al…9.8
- CVE-2026-12342This vulnerability impacts all versions of IdentityIQ and al…9.6
- CVE-2026-12348Address bar spoofing in Arc Search for Android allows a remo…7.4
- CVE-2026-12349The Premium Addons for KingComposer plugin for WordPress is …5.3
- CVE-2026-1235The WP eCommerce WordPress plugin through 3.15.1 unserialize…6.5
- CVE-2026-12351IBM MQ 9.3.0.0 through 9.3.0.41 LTS, 9.3.0.0 through 9.3.5.1…9.8
- CVE-2026-12352This vulnerability allows an unauthenticated actor to bypass…5.9
- CVE-2026-12353An unauthenticated attacker could trigger an Out of Memory c…5.3
Are you affected by CVE-2026-12345?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
