Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Nmap | Nmap | < 7.992 | 7.992 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nmap | 7.993+dfsg-1 | — |
| Debian 13 | nmap | No fix yet | — |
| Debian 12 | nmap | No fix yet | — |
Advisories 1
- WID-SEC-2026-4820 nmap: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 25, 2026
References
- Fix Commit (anyconnect off-target redirects) patch
- Nmap 7.992 Changelog release-notes
- Nmap Changelog release-notes
- VulnCheck Advisory: Nmap < 7.992 Blind Server-Side Request Forgery via Unvalidated Redirect in http-cisco-anyconnect.nse third-party-advisory