Skip to content
Noroxi
NVD / CVE Program· CNA PSF

CVE-2026-2297: SourcelessFileLoader does not use io.open_code()

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.22% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14; azl3 python3 3.12.9-13 on Azure Linux 3.0 3.12.9-14; azl3 python3 3.12.9-14 on Azure Linux 3.0 3.12.9-14.

Low priority for now. Upgrade to Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14; azl3 python3 3.12.9-13 on Azure Linux 3.0 3.12.9-14; azl3 python3 3.12.9-14 on Azure Linux 3.0 3.12.9-14 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

MediumCVSS 5.7 · v4.0—No exploit Fix available
Published
Mar 4, 2026
Updated
Aug 13, 2026
EPSS
0.2% · 12th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · PSF
5.7
NVD has not scored this yet; the score shown is the CNA’s.

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2026-2297

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (PSF). Independent of NVD's CPE analysis and usually ahead of it.

  • Python Software Foundation CPython

    • before 3.10.21affected · python
    • 3.11.0 and later · before 3.11.16affected · python
    • 3.12.0 and later · before 3.12.14affected · python
    • 3.13.0 and later · before 3.13.13affected · python
    • 3.14.0 and later · before 3.14.4affected · python
    • 3.15.0a1 and later · before 3.15.0a7affected · python

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10python-unversioned-commandbefore 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3before 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3-debugbefore 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3-develbefore 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3-idlebefore 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3-libsbefore 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3-testbefore 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3-tkinterbefore 3.12.13-2.el10_23.12.13-2.el10_2
AlmaLinux:10python3.14before 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-debugbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-develbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-freethreadingbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-freethreading-debugbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-freethreading-develbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-freethreading-idlebefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-freethreading-libsbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-freethreading-testbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-freethreading-tkinterbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-idlebefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-libsbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-testbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:10python3.14-tkinterbefore 3.14.4-2.el10_23.14.4-2.el10_2
AlmaLinux:8python3.12before 3.12.13-2.el8_103.12.13-2.el8_10
AlmaLinux:8python3.12-debugbefore 3.12.13-2.el8_103.12.13-2.el8_10

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-115557Distrust compromised intermediate certificates in ssl module
    37Monitor
  • CVE-2025-4517Arbitrary writes via tarfile realpath overflow
    37Monitor
  • CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts
    36Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2026-0865Jan 20, 2026 · wsgiref.headers.Headers allows header newline injection
    23Monitor
  • ← EarlierCVE-2026-1299Jan 23, 2026 · email BytesGenerator header injection due to unquoted newlines
    24Monitor
  • Later →CVE-2026-3479Mar 18, 2026 · pkgutil.get_data() does not enforce documented restrictions
    0Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Python Software Foundation CPython3.10.21Vendor (CNA)
Python Software Foundation CPython3.11.16Vendor (CNA)
Python Software Foundation CPython3.12.14Vendor (CNA)
Python Software Foundation CPython3.13.13Vendor (CNA)
Python Software Foundation CPython3.14.4Vendor (CNA)
Python Software Foundation CPython3.15.0a7Vendor (CNA)
azl3 python3 3.12.9-13 on Azure Linux 3.03.12.9-14 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 python3 3.12.9-14 on Azure Linux 3.03.12.9-14 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 python3 3.9.19-19 on CBL-Mariner 2.0Release NotesMicrosoft (MSRC)
almalinux:python3.123.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-debug3.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-devel3.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-idle3.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-libs3.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-rpm-macros3.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-test3.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.12-tkinter3.12.13-2.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:python3.143.14.4-2.el10_2 · AlmaLinux:10Package registry (OSV)
almalinux:python3.14-debug3.14.4-2.el10_2 · AlmaLinux:10Package registry (OSV)
almalinux:python3.14-devel3.14.4-2.el10_2 · AlmaLinux:10Package registry (OSV)
almalinux:python3.14-freethreading3.14.4-2.el10_2 · AlmaLinux:10Package registry (OSV)
alpine:python33.12.14-r0 · Alpine:v3.21Package registry (OSV)
debian:pypy37.3.22+dfsg-1 · Debian:14Package registry (OSV)
debian:python3.113.11.2-6+deb12u8 · Debian:12Package registry (OSV)
debian:python3.133.13.5-2+deb13u1 · Debian:13Package registry (OSV)
debian:python3.143.14.3-4 · Debian:14Package registry (OSV)
opensuse:python3103.10.20-2.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3113.11.15-150600.3.53.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python311-core3.11.15-150600.3.53.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python311-documentation3.11.15-150600.3.53.1 · openSUSE:Leap 15.6Package registry (OSV)

+32

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
Integrity
Availability
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
X

CVSS vector

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

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records