CVE-2026-81407

Nmap before 7.992 contains a hardcoded cryptographic key vulnerability in the DHCAST128 login of the NSE afp.lua library, which uses a fixed, publicly known Diffie-Hellman private exponent. A passive observer of the network traffic between Nmap and an Apple Filing Protocol server can compute the shared secret from the hardcoded exponent and the server's public value and decrypt the password supplied to scripts such as afp-showmount.nse and afp-brute.nse through the afp.username and afp.password arguments, without man-in-the-middle access or cryptanalysis.
Configurations

No configuration.

History

25 Nov 2026, 18:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-25 18:18

Updated : 2026-11-27 17:18


NVD link : CVE-2026-81407

Mitre link : CVE-2026-81407

CVE.ORG link : CVE-2026-81407


JSON object : View

Products Affected

No product.

CWE
CWE-321

Use of Hard-coded Cryptographic Key