CVE-2026-8328
Reported by psf · Published May 13, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3.13-freethreading | Amazon Linux | 3.13.14-1.amzn2023.0.1 |
| python-3.14 | Wolfi | 3.14.5-r1 |
| python3.14-freethreading | Amazon Linux | 3.14.6-1.amzn2023.0.1 |
| python3.12-debug | Amazon Linux | 3.12.13-2.amzn2023.0.3 |
| python | Bitnami | 3.14.6, 3.13.14, 3.12.14, 3.11.16, 3.10.21 |
| python3.14-freethreading-debug | Amazon Linux | 3.14.6-1.amzn2023.0.1 |
| python3.11-debug | Amazon Linux | 3.11.15-1.amzn2023.0.3 |
| python3.13-libs | Amazon Linux | 3.13.14-1.amzn2023.0.1 |
| python3.13-idle | Amazon Linux | 3.13.14-1.amzn2023.0.1 |
| python-3.11 | Wolfi | 3.11.15-r5 |
| python-3.13 | Wolfi | 3.13.13-r6 |
| python3.12-test | Amazon Linux | 3.12.13-2.amzn2023.0.3 |
61 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | 0, 3.11.0, 3.12.0 |
| amazon:2023 | python3.13-freethreading | 0 |
| wolfi | python-3.14 | 0 |
| amazon:2023 | python3.14-freethreading | 0 |
| amazon:2023 | python3.12-debug | 0 |
| amazon:2023 | python3.14-freethreading-debug | 0 |
| amazon:2023 | python3.11-debug | 0 |
| amazon:2023 | python3.13-libs | 0 |
| amazon:2023 | python3.13-idle | 0 |
| wolfi | python-3.11 | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.7 |
| wolfi | python-3.13 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.7 |
| amazon:2023 | python3.12-test | 0 |
| amazon:2023 | python3.11 | 0 |
| amazon:2023 | python3-idle | 0 |
| amazon:2023 | python3.14-freethreading-test | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.7 |
| alpine | python3 | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.7 |
…and 43 more
Timeline
- May 13, 2026 CVE Published
- May 14, 2026 EPSS Score (30 in total, the first dated here)
- May 14, 2026 PoC Published (2 in total, the first dated here)
- May 15, 2026 Security Advisory (6 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (2 in total, the first dated here)
- Nov 10, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-8328
vulnetix vdb fixes CVE-2026-8328
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-8328/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- issue-tracking
- patch
- vendor-advisory
- patch
- patch
- patch
- patch
- patch
- patch
- patch
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html url