# JLSEC-2026-1613: A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode.

- Severity: Medium 5.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T15:11:45.475Z
- Modified: 2026-12-01T15:15:03.920Z
- Related: CVE-2021-4189

## Description

A flaw was found in Python, specifically in the FTP (File Transfer Protocol) client library in PASV (passive) mode. The issue is how the FTP client trusts the host from the PASV response by default. This flaw allows an attacker to set up a malicious FTP server that can trick FTP clients into connecting back to a given IP address and port. This vulnerability could lead to FTP client scanning ports, which otherwise would not have been possible.

(As written by Julia Security Advisories.)

## Affected

- Python_jll (Julia): before 3.10.7+0

## References

- <https://access.redhat.com/security/cve/CVE-2021-4189> (web)
- <https://bugs.python.org/issue43285> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2036020> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html> (web)
- <https://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188e> (web)
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html> (web)
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html> (web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html> (web)
- <https://python-security.readthedocs.io/vuln/ftplib-pasv.html> (web)
- <https://security-tracker.debian.org/tracker/CVE-2021-4189> (web)
- <https://security.netapp.com/advisory/ntap-20221104-0004/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1613](https://osv.dev/vulnerability/JLSEC-2026-1613), CC-BY-4.0, modified 2026-12-01

---

Page: https://cve.day/JLSEC-2026-1613 · Whole record: https://cve.day/JLSEC-2026-1613.json · Rebuilt by cve.day 2026-12-01T15:27:24.616Z
