CVE-2026-40558
Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply
- Severity
- unscored
- Weakness
- CWE-918 Server-Side Request Forgery
- Published
- 29 November 2026 by CPANSec
- First seen on our lists
- 29 November 2026
Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply.
The pasv method uses the IP address from the server's 227 reply for the data connection and never compares it with the control connection's peer.
A malicious FTP server can make the client open TCP connections to arbitrary hosts and ports, including internal addresses reachable only from the client.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] CVE-2026-40558: Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply