CVE-2023-26103
Regular Expression Denial of Service in Deno.upgradeWebSocket API
Also known as GHSA-jc97-h3h9-7xh6
Mitigation
- Upgrade deno to 1.31.0 or later.
Who should check
- Projects that depend on crates.io package deno (>= 1.12.0, < 1.31.0)
- Anyone running deno < 1.31.0
Vulnerability facts
- Affected
- deno >= 1.12.0, < 1.31.0
- Fixed in
- 1.31.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- EPSS
- 1.24% chance of exploitation in 30 days (percentile 69, 2026-11-26)
- CWE
- CWE-1333
- Modified
Description
Versions of the package deno before 1.31.0 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the upgradeWebSocket function, which contains regexes in the form of /s*,s*/, used for splitting the Connection/Upgrade header. A specially crafted Connection/Upgrade header can be used to significantly slow down a web socket server.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io deno | >= 1.12.0, < 1.31.0 | 1.31.0 | osv |
| deno | < 1.31.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-26103. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-26103.md Affected: deno >= 1.12.0, < 1.31.0 Fixed in: 1.31.0 Steps: 1. Search this machine and project for deno (crates.io), deno: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
Other
- https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js%23L395-L409
- https://github.com/denoland/deno/releases/tag/v1.31.0
- https://github.com/denoland/deno
- https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js#L395-L409
FAQ
Is CVE-2023-26103 being exploited?
There is no confirmed exploitation: CVE-2023-26103 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-26103?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-26103?
deno >= 1.12.0, < 1.31.0.
Is there a fix for CVE-2023-26103?
Yes. Fixed in 1.31.0. Upgrade deno to 1.31.0 or later.
How do I check if I'm affected by CVE-2023-26103?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.