CVE-2026-8328 json
FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address
published 2026-05-13 5 mo ago modified 2026-10-26 13 d ago also BIT-libpython-2026-8328 , BIT-python-2026-8328 , BIT-python-min-2026-8328 , EUVD-2026-30177
- cvss
- 5.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While makepasv() was patched to replace server-supplied PASV host addresses with the actual peer address (getpeername()[0]), ftpcp() still calls parse227() directly and passes the raw attacker-controllable IP address and port to target.sendport(). This patch is related to CVE-2021-4189.
Patch / fix
- bitnami libpython 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6
- bitnami python 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6
- bitnami python-min 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6
- Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.6, 3.15.0b2
- pypy3 Debian 14 8.0.0+dfsg-1
- python3.11 Debian 12 3.11.2-6+deb12u9
- python3.13 Debian 13 3.13.5-2+deb13u3
- python3.14 Debian 14 3.14.6-1
debian advisories DEBIAN-CVE-2026-8328
- python3.10 Ubuntu 22.04 LTS 3.10.12-1~22.04.16
- python3.12 Ubuntu 24.04 LTS 3.12.3-1ubuntu0.15
- python3.14 Ubuntu 26.04 LTS 3.14.4-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2026-8328
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python3.13 hummingbird 1 3.13.15-1.3.hum1
- python3.13-idle hummingbird 1 3.13.15-1.3.hum1
- python3.13-libs hummingbird 1 3.13.15-1.3.hum1
- python3.13-test hummingbird 1 3.13.15-1.3.hum1
- python3.13-tkinter hummingbird 1 3.13.15-1.3.hum1
- python3.13-freethreading hummingbird 1 3.13.15-1.3.hum1
- python3.12 hummingbird 1 3.12.14-1.3.hum1
- python3.12-idle hummingbird 1 3.12.14-1.3.hum1
red hat advisories RHSA-2026:68309RHSA-2026:68154RHSA-2026:68135RHSA-2026:68132RHSA-2026:67572
- python3 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +11 more 3.6.15-150300.10.129.1
- python3-core SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +12 more 3.6.15-150300.10.129.1
- grafana Multi Linux Manager Tools SLE-15 12.4.10-150002.4.27.1
- mgr-push Multi Linux Manager Tools SLE-15 5.2.5-150002.3.12.1
- spacecmd Multi Linux Manager Tools SLE-15 5.2.10-150002.3.15.1
- uyuni-tools Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 5.2.17-150002.3.20.1
- venv-salt-minion Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 3006.0-150002.5.22.1
- spacewalk-client-tools Multi Linux Manager Tools SLE-15 5.2.7-150002.3.12.1
suse advisories SUSE-SU-2026:4754-1SUSE-SU-2026:4585-1SUSE-SU-2026:4584-1SUSE-SU-2026:4583-1SUSE-SU-2026:4582-1SUSE-SU-2026:4581-1
- python313 openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-core openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-nogil openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-documentation openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-nogil-nogil-core openSUSE Leap 16.0 3.13.14-160000.2.1
- python311 openSUSE Tumbleweed 3.11.15-8.1
- python312 openSUSE Tumbleweed 3.12.13-8.1
- python313 openSUSE Tumbleweed 3.13.14-1.1
opensuse advisories openSUSE-SU-2026:21595-1openSUSE-SU-2026:11427-1openSUSE-SU-2026:11428-1openSUSE-SU-2026:11342-1openSUSE-SU-2026:11285-1openSUSE-SU-2026:11181-1
- python3 Alpine 3.24 3.14.7-r0
alpine advisories ALPINE-CVE-2026-8328
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/python/cpython@5dadc64 commit
- github.com/python/cpython@7d95a1d commit
- github.com/python/cpython@bb3446d commit
- github.com/python/cpython@c887044 commit
- github.com/python/cpython@eac4fe3 commit
- github.com/python/cpython@2bbcf3f commit
- github.com/python/cpython@ef12d0d commit
- github.com/python/cpython#149648 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-8328 updated cvss 5.3
python: Python: FTP connection redirection via ftpcp() function bypass
-
Red Hat Hardened Images python3 3.14.7-1.2.hum1, python3.14 3.14.7-1.2.hum1, python3.10 3.10.21-1.3.hum1, python3.11 3.11.16-1.4.hum1, python3.12 3.12.14-1.3.hum1, python3.13 3.13.15-1.3.hum1, +27 morefixed: vendor fix RHSA-2026:67572
-
Red Hat Hardened Images hi/pythonnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 5.9 | CVSS:4.0/AV: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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libpython | <3.10.21 >=3.11.0, <3.11.16 >=3.12.0, <3.12.14 >=3.13.0, <3.13.14 >=3.14.0, <3.14.6 |
3.10.21 3.11.16 3.12.14 3.13.14 3.14.6 |
| bitnami | python | <3.10.21 >=3.11.0, <3.11.16 >=3.12.0, <3.12.14 >=3.13.0, <3.13.14 >=3.14.0, <3.14.6 |
3.10.21 3.11.16 3.12.14 3.13.14 3.14.6 |
| bitnami | python-min | <3.10.21 >=3.11.0, <3.11.16 >=3.12.0, <3.12.14 >=3.13.0, <3.13.14 >=3.14.0, <3.14.6 |
3.10.21 3.11.16 3.12.14 3.13.14 3.14.6 |
Affected products
- Python Software Foundation CPython
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/python/cpython/pull/149648
patch, web
-
github.com
/python/cpython/commit/5dadc64673ce875ebfb24163907777dae0f6ca06
patch, web
-
github.com
/python/cpython/commit/7d95a1dc7382b55cba7fdd6a110336077584a4f0
patch, web
-
github.com
/python/cpython/commit/bb3446dda6c49b32e67c11dbbbf221b40be00763
patch, web
-
github.com
/python/cpython/commit/c88704431ea3248ca769384c13856330976fac1d
patch, web
-
github.com
/python/cpython/commit/eac4fe3b2c77693790a5ef7dfab127c1fee81bf9
patch, web
-
github.com
/python/cpython/commit/2bbcf3fb7a420a05605576c0f9468d4675381b5f
patch, web
-
github.com
/python/cpython/commit/ef12d0dc824baccf737bba1458e5eed3d1e0fceb
patch, web
-
mail.python.org
/archives/list/security-announce@python.org/thread/ITF2BAPBQEPYK3LDMPRSY435JGNHYNDP/
vendor-advisory, web
-
github.com
/python/cpython/issues/87451
issue-tracking, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-8328
web
Sources
- CVE List CVE-2026-8328
- NVD CVE-2026-8328
- OSV BIT-libpython-2026-8328
- OSV BIT-python-2026-8328
- OSV BIT-python-min-2026-8328
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.