Python CPython up to 3.14.x Link tarfile.extractall path traversal
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 3.78 |
Summary
A vulnerability has been found in Python CPython up to 3.14.x and classified as critical. The affected element is the function tarfile.extractall of the component Link Handler. Performing a manipulation results in path traversal.
This vulnerability is known as CVE-2026-7774. Remote exploitation of the attack is possible. No exploit is available.
The affected component should be upgraded.
Details
A vulnerability was found in Python CPython up to 3.14.x. It has been classified as critical. This affects the function tarfile.extractall of the component Link Handler. The manipulation with an unknown input leads to a path traversal vulnerability. CWE is classifying the issue as CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2026-7774 since 05/04/2026. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1006 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 318726 (Linux Distros Unpatched Vulnerability : CVE-2026-7774), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.15.0 eliminates this vulnerability. Applying a patch 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 (318726), EUVD (EUVD-2026-34282) and CERT Bund (WID-SEC-2026-1796). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Affected
- Open Source Python
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: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
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: Path traversalCWE: CWE-22
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
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: 318726
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-7774
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: CPython 3.15.0
Patch: github.com
Timeline
05/04/2026 CVE reserved06/04/2026 Advisory disclosed
06/04/2026 VulDB entry created
06/05/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 149486
Status: Confirmed
CVE: CVE-2026-7774 (🔒)
GCVE (CVE): GCVE-0-2026-7774
GCVE (VulDB): GCVE-100-368385
EUVD: 🔒
CERT Bund: WID-SEC-2026-1796 - CPython: Schwachstelle ermöglicht Manipulation von Dateien
Entry
Created: 06/04/2026 19:57Updated: 06/05/2026 21:23
Changes: 06/04/2026 19:57 (71), 06/04/2026 21:15 (1), 06/05/2026 13:11 (7), 06/05/2026 21:23 (2)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.