Python 3.10.x / 3.11.x / 3.12.x / 3.13.x < 3.13.14 / 3.14.x < 3.14.6 Path Traversal

medium Nessus Plugin ID 320851

Synopsis

The remote host has an application installed that is affected by a path traversal vulnerability.

Description

The version of Python installed on the remote Windows host is affected by a path traversal vulnerability.
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.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Python 3.13.14, 3.14.6 or later. For other branches, upgrade to a fixed version when available.

See Also

https://github.com/python/cpython/issues/149486

https://github.com/python/cpython/pull/149487

http://www.nessus.org/u?2295fc2d

Plugin Details

Severity: Medium

ID: 320851

File Name: python_cve_2026_7774.nasl

Version: 1.1

Type: Local

Agent: windows

Family: Windows

Published: 6/12/2026

Updated: 6/12/2026

Configuration: Enable paranoid mode

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2026-7774

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/a:python:python

Required KB Items: installed_sw/Python Software Foundation Python, SMB/Registry/Enumerated, Settings/ParanoidReport

Patch Publication Date: 6/10/2026

Vulnerability Publication Date: 6/4/2026

Reference Information

CVE: CVE-2026-7774

IAVA: 2026-A-0549