{"id":"GHSA-v8fw-85r8-5m23","revision":null,"records":[{"revision":"51325749a7a345579d427697421c1f8c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-49411","aliases":[],"title":"Deno Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks","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.","state":0,"publishedAt":"2026-06-23T17:18:07.354+00:00","modifiedAt":"2026-06-26T18:56:10.417+00:00","affected":[{"ecosystem":"Vendor product","name":"deno","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"denoland\",\n                    \"product\": \"deno\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.8.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-v8fw-85r8-5m23"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-49411","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-49411","identifiers":["CVE-2026-49411"]},"retained":false,"historicalAffected":[]},{"revision":"b0d25ed518f4480c8477a1ea60308648","observedAt":"2026-11-07T11:31:43.938+00:00","statement":{"source":"euvd","id":"EUVD-2026-38544","aliases":["CVE-2026-49411","GHSA-v8fw-85r8-5m23"],"title":"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…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":6.5,"severity":null}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-v8fw-85r8-5m23"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38544","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 23, 2026, 5:18:07 PM","dateUpdated":"Jun 26, 2026, 6:56:10 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-38544","identifiers":["EUVD-2026-38544","CVE-2026-49411","GHSA-v8fw-85r8-5m23"]},"retained":false,"historicalAffected":[]},{"revision":"015093a0adb544c18b3d8d1726f68c20","observedAt":"2026-10-27T13:11:58.28+00:00","statement":{"source":"nvd","id":"CVE-2026-49411","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2026-06-23T18:18:03.44+00:00","modifiedAt":"2026-10-25T23:10:00.167+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-v8fw-85r8-5m23"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49411","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-284","NVD-CWE-noinfo"],"productCriteria":["cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-06-23T18:18:03.440","lastModified":"2026-10-25T23:10:00.167"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-49411","identifiers":["CVE-2026-49411"]},"retained":false,"historicalAffected":[]},{"revision":"3322a1ce0d46402181fb166b9b4ddbfc","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-v8fw-85r8-5m23","aliases":["CVE-2026-49411"],"title":"Deno: Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks","description":"## Summary\n\nDeno's network permission model is designed so that `--deny-net` rules apply to the **resolved IP address** of a destination, not just the literal string supplied by the caller. That means `--deny-net=127.0.0.1` (or `--deny-net=127.0.0.0/8`) is expected to block any attempt to reach loopback, regardless of how the hostname is spelled.\n\nOn affected versions, 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.\n\nThe native `Deno.connect()`, `fetch()`, and URL-string variants of `node:http.request(\"http://...\")` were not affected, because they either re-checked permissions after resolution or normalized the hostname through the URL parser before checking.\n\n## Proof of concept\n\nRun on Deno `2.7.14`, with a local TCP listener on `127.0.0.1:<PORT>`:\n\n```js\nimport net from \"node:net\";\n\n// --allow-net + --deny-net=127.0.0.0/8\n// (or even --deny-net=127.0.0.1:<PORT>)\nnet.connect({ host: \"2130706433\", port: PORT });     // CONNECTED ❌\nnet.connect({ host: \"0x7f000001\", port: PORT });     // CONNECTED ❌\nnet.connect({ host: \"127.0.0.1\",  port: PORT });     // denied ✅\n```\n\nThe same primitive reached the loopback HTTP listener through `node:http` when the destination was passed as options rather than as a URL string:\n\n```js\nimport http from \"node:http\";\n\n// options-form host — bypasses the deny rule on affected versions\nhttp.request({ hostname: \"2130706433\", port: PORT, path: \"/\" }).end();\n\n// URL-string form — correctly denied (URL parser normalizes the host)\nhttp.request(`http://2130706433:${PORT}/`).end();\n```\n\nThe server-side log showed the bypassed requests arriving from `127.0.0.1` with the numeric alias preserved in the `Host` header.\n\n## Impact\n\nA program that intentionally allows broad outbound network access but uses `--deny-net` to carve out protected destinations, typically loopback, private/internal ranges, or cloud-instance metadata IPs, could be made to reach those denied destinations from less-trusted code (a dependency, plugin, or attacker-controlled input) that funnels through `node:net.connect({ host })` or `node:http.request({ hostname })`.\n\nThe CVSS vector reflects this as a local-attack-vector, permissions-required confidentiality impact: the attacker needs to be able to run code inside the Deno process, and the demonstrated primitive is \"reach an explicitly denied IP.\" It does not by itself exfiltrate data or execute code; the further impact depends on what the now-reachable endpoint exposes.\n\nThe confirmed scope is **IPv4 numeric hostname aliases** reaching a denied resolved IP through the Node TCPWrap / options-host path. URL strings, `node:http2`, `undici`, and IPv6 numeric/mapped-address variants were not exhaustively tested by the reporter.\n\n## Not affected\n\n- Programs that do not use `--deny-net` at all (the bug is specifically about deny rules being bypassed; allow rules were always checked against the original string).\n- Native Deno networking APIs (`Deno.connect`, `Deno.connectTls`, `fetch`, ...), these already re-checked permissions after resolution as of PR #33203.\n- URL-string callers such as `fetch(\"http://2130706433/\")` or `node:http.request(\"http://2130706433/\")`, the URL parser normalized the hostname to its dotted-quad form before the   permission check ran.\n- Calls that do not provide `host`/`hostname` (e.g. connecting by IP literal or by a name that the deny rule already matches verbatim).\n\n## Workarounds\n\nIf you cannot upgrade immediately, reduce exposure by:\n\n- **Preferring an `--allow-net` allowlist over a `--deny-net` denylist.** An allowlist denies numeric aliases by default because they don't match the listed hostnames; only the destinations you've explicitly permitted can be reached.\n- **Validating untrusted host input** before passing it to `node:net.connect` / `node:http.request`. Reject hostnames that are purely decimal integers (`/^\\d+$/`) or begin with `0x`, as these are the alias forms exploited by the bypass.\n- **Avoiding the Node options-host path for sensitive calls** in favour of URL-string forms, which are normalized by the URL parser before the permission check.","state":0,"publishedAt":"2026-06-16T19:09:46+00:00","modifiedAt":"2026-07-20T21:15:24.4686774+00:00","affected":[{"ecosystem":"crates.io","name":"deno","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.8.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-v8fw-85r8-5m23","https://nvd.nist.gov/vuln/detail/CVE-2026-49411","https://github.com/denoland/deno"],"sourceUrl":"https://github.com/advisories/GHSA-v8fw-85r8-5m23","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v8fw-85r8-5m23","identifiers":["GHSA-v8fw-85r8-5m23","CVE-2026-49411"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-07T20:52:46.7845564+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-07T20:52:46.7845564+00:00","lastSuccessAt":"2026-11-07T20:52:46.9707302+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:46.9707321+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-bb5c9d5a08063ef076042e33dd72a7d0ffa4c4487efdcf3106e29ba55ec2ad57-1766179264875bb4621a23ce4c6bcebec63fb794a16e35c2f5592f4ee300ee2e","complete":true,"records":420944,"lastAttemptAt":"2026-11-07T20:52:46.1142943+00:00","lastSuccessAt":"2026-11-07T20:52:46.0341312+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:46.1142943+00:00","snapshotPublishedAt":"2026-11-07T20:26:36+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-cbfb00168958467aaa6015d5230faa08","complete":true,"records":13633,"lastAttemptAt":"2026-11-07T21:04:54.6100336+00:00","lastSuccessAt":"2026-11-07T21:04:54.606+00:00","error":null,"lastVerifiedAt":"2026-11-07T21:04:54.606+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-07T20:52:46.7845564+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-07T20:52:46.7845564+00:00","lastSuccessAt":"2026-11-07T20:52:47.1482288+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:47.1482303+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b9464f9c589b4886928e7045b5ad1e11","complete":true,"records":13645,"lastAttemptAt":"2026-11-07T20:52:54.6850231+00:00","lastSuccessAt":"2026-11-07T20:52:54.68+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:54.68+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-0eb4d6dde62dffacd040ad992d4fd5a65cd7d0dc5f5f4cfa8b41967fc6f9ca5f","complete":true,"records":9914,"lastAttemptAt":"2026-11-07T20:52:46.6024506+00:00","lastSuccessAt":"2026-11-06T20:10:36.6450506+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:46.6024506+00:00","snapshotPublishedAt":"2026-11-06T20:02:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-07T20:52:46.3552169+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:46.3552169+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-335633e78a15c9cde10a6025895b5617717087fb945489ae7e15d377bacf34a9","complete":true,"records":3055,"lastAttemptAt":"2026-11-07T20:52:46.7261257+00:00","lastSuccessAt":"2026-11-06T16:03:00.7615789+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:46.7261257+00:00","snapshotPublishedAt":"2026-11-06T16:02:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-40ad6183a951565ace1520a9b4d631e1d0bfb1d4bf7c5574c375032559f3ff53","complete":true,"records":231292,"lastAttemptAt":"2026-11-07T20:52:46.4923243+00:00","lastSuccessAt":"2026-11-07T10:29:00.4821259+00:00","error":null,"lastVerifiedAt":"2026-11-07T20:52:46.4923243+00:00","snapshotPublishedAt":"2026-11-07T09:32:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}