Python CPython up to 3.14.x SourcelessFileLoader exposure of resource

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Exposure of resource
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 301038
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-2297

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: CPython 3.15.0
Patch: 482d6f8bdba9da3725d272e8bb4a2d25fb6a603e

Timelineinfo

02/10/2026 CVE reserved
03/05/2026 +23 days Advisory disclosed
03/05/2026 +0 days VulDB entry created
06/24/2026 +111 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 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

Entryinfo

Created: 03/05/2026 02:39
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!