{"id":"BIT-python-2026-8328","summary":"FTP PASV SSRF, ftpcp() does not use actual peer address, trusts server-supplied PASV host address","details":"The ftpcp() function in Lib/ftplib.py was not updated when \nCVE-2021-4189 was fixed. While makepasv() was patched to replace \nserver-supplied PASV host addresses with the actual peer address \n(getpeername()[0]), ftpcp() still calls parse227() directly and passes \nthe raw attacker-controllable IP address and port to target.sendport(). This patch is related to CVE-2021-4189.","aliases":["BIT-libpython-2026-8328","BIT-python-min-2026-8328","CVE-2026-8328","PSF-0000-CVE-2026-8328","PSF-2026-24"],"modified":"2026-05-22T14:56:25.548437872Z","published":"2026-05-20T12:04:45.838Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://github.com/python/cpython/issues/87451"},{"type":"WEB","url":"https://github.com/python/cpython/pull/149648"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/ITF2BAPBQEPYK3LDMPRSY435JGNHYNDP/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8328"}],"affected":[{"package":{"name":"python","ecosystem":"Bitnami","purl":"pkg:bitnami/python"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.14.5"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/python/BIT-python-2026-8328.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}],"schema_version":"1.7.5"}