Home › CVE › Vulnerabilities
CVE-2026-40558
Summary
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.
Weakness
- CWE-918: Server-Side Request Forgery (SSRF)
References by type
Patches and fixed releases
Other references
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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. 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. Weakness type: Server-Side Request Forgery (SSRF) (CWE-918).
How severe is CVE-2026-40558?
CVE-2026-40558 has not been given a CVSS score yet.
Is CVE-2026-40558 being exploited?
Not as far as is known: CVE-2026-40558 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026.
How do I fix CVE-2026-40558?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
- NVD: CVE-2026-40558
- oss-security: CVE-2026-40558: Net::FTP versions before 3.17 for Perl connect the passive data channel to the address...