CVE-2026-8328
Last modified
CVE-2026-8328 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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(). EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | < 3.13.14; >= 3.14.0, < 3.14.6; >= 3.15.0a1, < 3.15.0b2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-8328?
How severe is CVE-2026-8328?
How do I fix CVE-2026-8328?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8319A weakness has been identified in aiwaves-cn agents up to e8…5.5
- CVE-2026-8320A security vulnerability has been detected in jishenghua jsh…4.7
- CVE-2026-8321A vulnerability was detected in inkeep agents 0.58.14. This …7.3
- CVE-2026-8325A maliciously crafted PDF file, when parsed through Autodesk…7.8
- CVE-2026-8326Path traversal vulnerability in Remote Spark (https://www.Re…10
- CVE-2026-8327Concrete CMS below 9.5.0 and below is vulnerable to password…4.3
- CVE-2026-8330GitLab has remediated an issue in GitLab CE/EE affecting all…4.4
- CVE-2026-8335A missing authentication check on the Aix‑DB "/llm/process_l…7.1
- CVE-2026-8336After invoking $_internalJsEmit, which is not intended to be…6.5
- CVE-2026-8337Concrete CMS 9.5.0 and below is vulnerable to IDOR in survey…5.3
- CVE-2026-8338A Spring Security authentication and authorization bypass ex…9.2
- CVE-2026-8339A SQL injection vulnerability exists in the Coverity Connect…8.7
Are you affected by CVE-2026-8328?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
