# CVE-2026-49860: Deno: WebSocket API sandbox bypass via missing post-DNS check

- Severity: Medium 5.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-06-16T19:04:07.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-83pc-3rw9-qpwj
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, when a WebSocket connection was opened, Deno checked the destination hostname against --deny-net rules but did not re-check the IP addresses that hostname resolved to. An attacker-controlled script could use a specially crafted domain name that passes the hostname check yet resolves to a denied IP, bypassing the network restriction entirely. This vulnerability is fixed in 2.8.1.

(As written by CVE List.)

## Affected

- denoland deno: < 2.8.1
- deno (crates.io): before 2.8.1
- deno deno: before 2.8.1

## Every score

- GitHub_M: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/denoland/deno/security/advisories/GHSA-83pc-3rw9-qpwj> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49860> (advisory)
- <https://github.com/denoland/deno> (package)

## Sources

- CVE List: [CVE-2026-49860](https://www.cve.org/CVERecord?id=CVE-2026-49860), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-83pc-3rw9-qpwj](https://github.com/advisories/GHSA-83pc-3rw9-qpwj), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-49860](https://nvd.nist.gov/vuln/detail/CVE-2026-49860), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-49860 · Whole record: https://cve.day/CVE-2026-49860.json · Rebuilt by cve.day 2026-11-25T22:59:25.501Z
