Hardcoded Cryptographic Key Vulnerability in Nmap by Nmap Project
CVE-2026-81407
6MEDIUM
What is CVE-2026-81407?
The Nmap tool, up to version 7.992, contains a significant vulnerability due to a hardcoded cryptographic key in the DHCAST128 login within the NSE afp.lua library. This flaw allows a passive network observer to exploit the fixed, publicly known Diffie-Hellman private exponent to compute the shared secret. Consequently, sensitive credentials, such as passwords provided to related scripts like afp-showmount.nse and afp-brute.nse, can be decrypted. This vulnerability does not require man-in-the-middle access, making it a potential risk for environments utilizing Apple Filing Protocol servers.
Affected Version(s)
Nmap 0 < 7.992
