CVE-2026-81409: Nmap < 7.992 Blind Server-Side Request Forgery via Unvalidated Redirect in http-cisco-anyconnect.nse
Nmap before 7.992 contains a server-side request forgery vulnerability in the http-cisco-anyconnect.nse script and the anyconnect.lua library, whose redirect handler follows a server-supplied redirect target without checking that it stays on the scanned host. A malicious web server on a scanned host can redirect Nmap to an arbitrary host and port, including internal and loopback addresses the attacker cannot reach directly, making Nmap send a HEAD request followed by a POST request there; response content is not returned to the attacker. The script runs in the default script category (-sC, -A).
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems or operators running Nmap versions earlier than 7.992 are exposed when they scan a malicious web server and use the default script category, such as with -sC or -A. The affected script is http-cisco-anyconnect.nse and it uses the anyconnect.lua library.
What does an attacker need to exploit it?
An attacker needs to control a web server that is scanned by the affected Nmap script. The server can supply a redirect target that points Nmap at an arbitrary host and port, including internal or loopback addresses.
What network activity can exploitation cause?
Nmap can be induced to send a HEAD request followed by a POST request to the attacker-chosen destination. Response content is not returned to the attacker.
Are default scan configurations affected?
Yes. The vulnerable script runs in Nmap's default script category, so scans using -sC or -A can execute it.
What can be done if upgrading is not immediately possible?
Avoid running the http-cisco-anyconnect.nse script against untrusted targets, including by avoiding default script execution modes that run it. Upgrading to Nmap 7.992 or later removes exposure from versions before 7.992.