PT-2026-40802 · Python+2 · Cpython+2

·

CVE-2026-8328

·

Published

2026-05-13

·

Updated

2026-08-28

CVSS v4.0

5.9

Medium

VectorAV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions CPython (affected versions not specified)
Description The ftpcp() function in Lib/ftplib.py fails to use the actual peer address, instead trusting the host address supplied by the server during a PASV command. This occurs because ftpcp() calls parse227() directly and passes the raw, attacker-controllable IP address and port to target.sendport(), leading to a Server-Side Request Forgery (SSRF), where a server is tricked into making unintended requests to internal or external resources.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

SSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-86913
BIT-LIBPYTHON-2026-8328
BIT-PYTHON-2026-8328
BIT-PYTHON-MIN-2026-8328
CLEANSTART-2026-AZ09261
CLEANSTART-2026-HP19968
CLEANSTART-2026-IR98353
CLEANSTART-2026-WQ85001
CVE-2026-8328
ECHO-1E9D-9CBE-8622
OESA-2026-2919
OESA-2026-2920
OESA-2026-3068
OESA-2026-3069
OESA-2026-3072
OPENSUSE-SU-2026:11101-1
OPENSUSE-SU-2026:11181-1
OPENSUSE-SU-2026:11285-1
OPENSUSE-SU-2026:11342-1
OPENSUSE-SU-2026:11427-1
OPENSUSE-SU-2026:11428-1
OPENSUSE-SU-2026:21595-1
PSF-2026-24
SUSE-SU-2026:23159-1
SUSE-SU-2026:23191-1
SUSE-SU-2026:23212-1
SUSE-SU-2026:23303-1
SUSE-SU-2026:3245-1
SUSE-SU-2026:3530-1
SUSE-SU-2026:3548-1
SUSE-SU-2026:3560-1
SUSE-SU-2026:3569-1
SUSE-SU-2026:3635-1
SUSE-SU-2026:3649-1
SUSE-SU-2026:3855-1
SUSE-SU-2026:3862-1
USN-8509-1

Affected Products

Cpython
Linuxmint
Ubuntu