Python CPython up to 3.14.x SourcelessFileLoader exposure of resource
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, was found in Python CPython up to 3.14.x. This affects an unknown function of the component SourcelessFileLoader. The manipulation results in Local Privilege Escalation. This vulnerability is known as CVE-2026-2297. Attacking locally is a requirement. No exploit is available. You should upgrade the affected component.
Details
A vulnerability classified as critical has been found in Python CPython up to 3.14.x. Affected is some unknown functionality of the component SourcelessFileLoader. The manipulation with an unknown input leads to a local privilege escalation vulnerability. CWE is classifying the issue as CWE-668. The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2026-2297 since 02/10/2026. The exploitability is told to be easy. The attack needs to be approached locally. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 301038 (Linux Distros Unpatched Vulnerability : CVE-2026-2297), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.15.0 eliminates this vulnerability. Applying the patch 482d6f8bdba9da3725d272e8bb4a2d25fb6a603e is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (301038) and CERT Bund (WID-SEC-2026-0607). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Debian Linux
- Red Hat Enterprise Linux
- Fedora Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- RESF Rocky Linux
- Open Source Python
- Microsoft Azure Linux
Product
Type
Vendor
Name
Version
License
Website
- Product: https://github.com/python/cpython/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Exposure of resourceCWE: CWE-668 / CWE-200 / CWE-284
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 301038
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-2297
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: CPython 3.15.0
Patch: 482d6f8bdba9da3725d272e8bb4a2d25fb6a603e
Timeline
02/10/2026 CVE reserved03/05/2026 Advisory disclosed
03/05/2026 VulDB entry created
06/24/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 145506
Status: Confirmed
CVE: CVE-2026-2297 (🔒)
GCVE (CVE): GCVE-0-2026-2297
GCVE (VulDB): GCVE-100-348840
CERT Bund: WID-SEC-2026-0607 - CPython: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen
Entry
Created: 03/05/2026 02:39Updated: 06/24/2026 09:19
Changes: 03/05/2026 02:39 (70), 03/08/2026 04:20 (2), 03/12/2026 16:36 (3), 04/20/2026 11:35 (7), 04/24/2026 14:05 (1), 06/24/2026 09:19 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.