VulnerabilityCVE-2026-2297WID-SEC-W-2026-0607:CVE-2026-2297
SourcelessFileLoader does not use io.open_code()
Not on CISA KEV
Summary
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.
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)
- NVD This product uses the NVD API but is not endorsed or certified by the NVD.