CVE-2026-49411

Deno Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks

State
Published
Severity
6.5 Medium
Published
Jun 23, 2026
Updated
Jun 26, 2026
Reserved
May 29, 2026

Read the record on cve.org

Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.0, the Node.js compatibility TCP path checked the permission against the original hostname string before resolution and then did not re-check after resolution. A caller could therefore pass a numeric alias of an IP address (for example the decimal integer 2130706433 or the hex form 0x7f000001, both of which resolve to 127.0.0.1) and reach the denied destination through node:net.connect or node:http.request's { host, port } options form. This vulnerability is fixed in 2.8.0.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
denodenoland
  • < 2.8.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.