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.
CVE-2026-8328
This medium-severity CVE scores 5.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 62% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.9
- EG Score
- 5.9(medium)
- EG Risk
- 27(Track)EG Risk 27/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity59% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 37%
- KEV
- Not listed
Published
May 13, 2026
Last Modified
June 30, 2026
Advisory Details (8)
Auto-updated Jun 14, 2026Mailman 3 [CVE-2026-8328] FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address - Security-announce - python.org
https://mail.python.org/archives/list/security-announce@python.org/thread/ITF2BAPBQEPYK3LDMPRSY435JGNHYNDP/gh-87451: Apply CVE-2021-4189 PASV fix to ftplib.ftpcp()
Fix merged in python/cpython PR #149648 on 2026-05-13 — awaiting tagged release
https://github.com/python/cpython/pull/149648ftplib should not use the host from the PASV response · Issue #87451 · python/cpython · GitHub
https://github.com/python/cpython/issues/87451commit eac4fe3b2c77 (python/cpython)
Fix landed in python/cpython commit eac4fe3b2c77 — awaiting tagged release
https://github.com/python/cpython/commit/eac4fe3b2c77693790a5ef7dfab127c1fee81bf9commit c88704431ea3 (python/cpython)
Fix landed in python/cpython commit c88704431ea3 — awaiting tagged release
https://github.com/python/cpython/commit/c88704431ea3248ca769384c13856330976fac1dcommit bb3446dda6c4 (python/cpython)
Fix landed in python/cpython commit bb3446dda6c4 — awaiting tagged release
https://github.com/python/cpython/commit/bb3446dda6c49b32e67c11dbbbf221b40be00763commit 7d95a1dc7382 (python/cpython)
Fix landed in python/cpython commit 7d95a1dc7382 — awaiting tagged release
https://github.com/python/cpython/commit/7d95a1dc7382b55cba7fdd6a110336077584a4f0commit 5dadc64673ce (python/cpython)
Fix landed in python/cpython commit 5dadc64673ce — awaiting tagged release
https://github.com/python/cpython/commit/5dadc64673ce875ebfb24163907777dae0f6ca06Vendor Advisories for CVE-2026-8328(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-8328Microsoft Security Response Center (MSRC)Medium
FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address
- GHSA-j989-fggp-qgp5GitHub Security AdvisoriesMedium
The ftpcp() function in Lib/ftplib.py was not updated when CVE-2021-4189 was fixed. While...
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 112 total refreshes for this CVE.
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:23 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-18 02:29 UTCOSV refresh
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 22:10 UTCVendor advisory
- 2026-06-29 22:10 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 23:59 UTCVendor advisory
- 2026-06-27 23:59 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 21:50 UTCVendor advisory
- 2026-06-26 21:50 UTCGHSA enrichment
- 2026-06-25 19:29 UTCVendor advisory
- 2026-06-25 19:29 UTCGHSA enrichment
- 2026-06-25 13:50 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 02:35 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 00:27 UTCVendor advisory
- 2026-06-16 00:27 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 07:50 UTCVendor advisory
- 2026-06-14 07:50 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 05:42 UTCVendor advisory
- 2026-06-13 05:42 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 03:27 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 01:18 UTCVendor advisory
- 2026-06-11 01:18 UTCGHSA enrichment
- 2026-06-10 22:19 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-09 23:09 UTCVendor advisory
- 2026-06-09 23:09 UTCGHSA enrichment
- 2026-06-08 21:00 UTCVendor advisory
- 2026-06-08 21:00 UTCGHSA enrichment
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-07 18:51 UTCVendor advisory
- 2026-06-07 18:51 UTCGHSA enrichment
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-06 16:42 UTCVendor advisory
- 2026-06-06 16:42 UTCGHSA enrichment
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 14:33 UTCVendor advisory
- 2026-06-05 14:33 UTCGHSA enrichment
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 12:24 UTCVendor advisory
- 2026-06-04 12:24 UTCGHSA enrichment
- 2026-06-03 10:15 UTCGHSA enrichment
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 08:06 UTCGHSA enrichment
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 05:57 UTCGHSA enrichment
- 2026-05-31 22:30 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc
Same CWE
10 shownCWE-918
- CVE-2016-10927EG 10.0CRITICAL
- CVE-2016-10926EG 10.0CRITICAL
- CVE-2018-14721EG 10.0EPSS p95CRITICAL
- CVE-2018-18843EG 10.0CRITICAL
- CVE-2018-19047EG 10.0CRITICAL
- CVE-2018-10511EG 10.0CRITICAL
- CVE-2018-3774EG 10.0CRITICAL
- CVE-2018-1000124EG 10.0CRITICAL
- CVE-2017-13667EG 9.9CRITICAL
- CVE-2018-1789NVD 8.4EG 9.9CRITICAL
Frequently asked(5)
What is CVE-2026-8328?
When was CVE-2026-8328 disclosed?
Is CVE-2026-8328 actively exploited?
What is the CVSS score of CVE-2026-8328?
How do I remediate CVE-2026-8328?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-8328
Is Your Infrastructure Affected by CVE-2026-8328?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.