CVE-2026-2297
Last modified
CVE-2026-2297 is a medium-severity vulnerability rated 5.7/10 on the CVSS scale. The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.
Metrics
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | < 3.10.21; >= 3.11.0, < 3.11.16; >= 3.12.0, < 3.12.14; >= 3.13.0, < 3.13.13; >= 3.14.0, < 3.14.4; >= 3.15.0a1, < 3.15.0a7 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-2297?
How severe is CVE-2026-2297?
How do I fix CVE-2026-2297?
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-22926Omnissa Workspace ONE® Assist for macOS contains a Local Pri…7.8
- CVE-2026-22927Omnissa Workspace ONE® Tunnel for Windows addresses a Loca…7.8
- CVE-2026-2293A NestJS application using @nestjs/platform-fastify can allo…9.8
- CVE-2026-2294The UiPress lite | Effortless custom dashboards, admin theme…4.3
- CVE-2026-2295The WPZOOM Addons for Elementor – Starter Templates & Widget…5.3
- CVE-2026-2296The Product Addons for Woocommerce – Product Options with Cu…7.2
- CVE-2026-22976In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-22977In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-22978In the Linux kernel, the following vulnerability has been re…3.3
- CVE-2026-22979In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-2298Improper Neutralization of Argument Delimiters in a Command …9.4
- CVE-2026-22980In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-2297?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
