Hardcoded Cryptographic Key Vulnerability in Nmap by Nmap Project
CVE-2026-81407

6MEDIUM

Key Information:

Vendor

Nmap

Status
Vendor
CVE Published:
25 November 2026

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

References

CVSS V4

Score:
6
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Karan Bamal (SentinelOne)
.