CVE-2026-40558: Server-Side Request Forgery
Published 2026-11-29 · Updated 2026-12-04 · Source 9b29abf9-4ab0-4765-b253-1875cd9b441e
Not known to be exploited · medium severity — update to 3.17 or later on your normal schedule.
What to do
- Update the affected product to version 3.17 or later. Versions before 3.17 are affected.
- Until it is patched, do not leave the affected product reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Block outbound requests from the server to internal ranges and metadata addresses.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Affected product | < 3.17 | 3.17 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: Server-Side Request Forgery
An attacker can make the server send requests on their behalf, reaching internal services or cloud metadata endpoints.
Classified as CWE-918.
Description
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.
Advisory text as published in the NVD record.