Skip to main content
CVE-2026-81407VulnerabilityPublished

Nmap before 7.992 contains a hardcoded cryptographic key vulnerability in the DHCAST128 login of the NSE afp.lua

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-81407· Medium 6.0

Not known to be exploited · CVSS 6.0 Medium : upgrade to 7.992 when convenient.

Data as of 25 Nov 2026, 19:05 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.0
CNA (VulnCheck)CVSS 3.15.3
Patch
Available – fixed in 7.992
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade Nmap to 7.992.

Affected software

ProductAffectedFixed in
NmapNmapAffected
  • <7.992
Fixed in
  • 7.992
GitHubNmappkg:github/NmapOther threatsAffected
  • <7.992
Fixed in
  • 7.992

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using vulnerable Nmap versions for Apple Filing Protocol interactions or refrain from using the affected NSE scripts with sensitive credentials.

Description

Nmap versions before 7.992 have a vulnerability in the NSE afp.lua library where a hardcoded cryptographic key is used in the DHCAST128 login process. This key is a fixed, publicly known Diffie-Hellman private exponent. An attacker who passively observes network traffic between Nmap and an Apple Filing Protocol server can compute the shared secret and decrypt passwords supplied to certain Nmap scripts without needing man-in-the-middle access or cryptanalysis.

References

Community reviews

Loading reviews…