CVE-2025-48888
Deno run with --allow-read and --deny-read flags results in allowed
Also known as GHSA-xqxc-x6p3-w683
Mitigation
- Upgrade deno to one of 2.1.13, 2.2.13, 2.3.2 (or later in the same release line).
- Upgrade deno_runtime to 0.212.0 or later.
Who should check
- Projects that depend on crates.io package deno (>= 1.41.3, < 2.1.13)
- Projects that depend on crates.io package deno_runtime (>= 0.150.0, < 0.212.0)
- Anyone running denoland deno >= 1.41.3, < 2.1.13; >= 2.2.0, < 2.2.13; >= 2.3.0, < 2.3.2
Vulnerability facts
- Affected
- deno >= 1.41.3, < 2.1.13; deno_runtime >= 0.150.0, < 0.212.0
- Fixed in
- 2.1.13, 2.2.13, 2.3.2, 0.212.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.5 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- EPSS
- 0.74% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-863
- Modified
Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.41.3 and prior to versions 2.1.13, 2.2.13, and 2.3.2, `deno run --allow-read --deny-read main.ts` results in allowed, even though 'deny' should be stronger. The result is the same with all global unary permissions given as `--allow-* --deny-*`. This only affects a nonsensical combination of flags, so there shouldn't be a real impact on the userbase. Users may upgrade to version 2.1.13, 2.2.13, or 2.3.2 to receive a patch.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io deno | >= 1.41.3, < 2.1.13 | 2.1.13, 2.2.13, 2.3.2 | osv |
| crates.io deno_runtime | >= 0.150.0, < 0.212.0 | 0.212.0 | osv |
| denoland deno | >= 1.41.3, < 2.1.13; >= 2.2.0, < 2.2.13; >= 2.3.0, < 2.3.2 | — | 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-2025-48888. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-48888.md Affected: deno >= 1.41.3, < 2.1.13; deno_runtime >= 0.150.0, < 0.212.0 Fixed in: 2.1.13, 2.2.13, 2.3.2, 0.212.0 Steps: 1. Search this machine and project for deno (crates.io), deno_runtime (crates.io), denoland 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
- https://github.com/denoland/deno/pull/22894
- https://github.com/denoland/deno/pull/29213
- https://github.com/denoland/deno/commit/2f0fae9d9071dcaf0a689bc7097584b1b9ebc8db
- https://github.com/denoland/deno/commit/9d665572d3cd39f997e29e6daac7c1102fc5c04f
- https://github.com/denoland/deno/commit/ef315b56c26c9ef5f25284a5100d2ed525a148cf
FAQ
Is CVE-2025-48888 being exploited?
There is no confirmed exploitation: CVE-2025-48888 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.74% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-48888?
Medium: CVSS 5.5 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-48888?
deno >= 1.41.3, < 2.1.13; deno_runtime >= 0.150.0, < 0.212.0.
Is there a fix for CVE-2025-48888?
Yes. Fixed in 2.1.13, 2.2.13, 2.3.2, 0.212.0. Upgrade deno to one of 2.1.13, 2.2.13, 2.3.2 (or later in the same release line). Upgrade deno_runtime to 0.212.0 or later.
How do I check if I'm affected by CVE-2025-48888?
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.