Server-side request forgery in Perl Net::FTP via PASV replies
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
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 never compares that address with the control connection's peer, a server-side request forgery flaw (CWE-918). A malicious FTP server can make the client open TCP connections to arbitrary hosts and ports, including internal addresses reachable only from the client.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libnet | before 3.17 | 3.17 | Patch available | CNA |
| — | perl | 5.7.3 – 5.45.5 | — | No fix listed | CNA |
- libnet Vendor— Affected before 3.17 Fixed in 3.17 Patch available CNA
- perl Vendor— Affected 5.7.3 – 5.45.5 Fixed in — No fix listed CNA
Remediation
Update libnet to version 3.17, which fixes Net::FTP. The sources list no fixed version for perl.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA libnet Fixed in 3.17
Timeline
- 2026-11-29 Threatist record created from CVE-2026-40558
- 2026-11-30 Alias added: GHSA-gpfx-rpc3-h6c9
References
Sources
- CVE-2026-40558 · CVE Program
- CVE-2026-40558 · NVD
- FIRST EPSS
- GHSA-gpfx-rpc3-h6c9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences