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

Vulnerability · Reported by NVD · · CWE-918

Severity
High Estimated, NVD hasn't scored it yet
CVSS
– Not scored yet
Exploit chance (EPSS)
– Not available yet
Known exploited
No Not in CISA KEV

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.

Type of weakness

This issue is classified as server-side request forgery (SSRF) (CWE-918).

Is it being exploited?

There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.

Patch priority and what to do

Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.

Tags

CVE-2026-40558

Sources & references

NVD has not scored this CVE yet. The severity shown is an estimate from the article text and will be replaced automatically.

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.