CVE-2025-48888 Details
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.
A vulnerability in Deno's permission handling allows contradictory global permission flags to coexist improperly. Specifically, using 'deno run' with both '--allow-read' and '--deny-read' flags, or any similar combination of global unary permissions, can lead to unexpected behavior. This issue is present in Deno versions starting from 1.41.3 up to, but not including, 2.1.13, 2.2.13, and 2.3.2. The vulnerability arises from a logic flaw that causes the program to incorrectly prioritize 'deny' flags, creating a scenario where denied permissions are still granted.
Users can upgrade to Deno versions 2.1.13, 2.2.13, or 2.3.2, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| deno deno | >= 1.41.3, < 2.1.13 >= 2.2.0, < 2.2.13 >= 2.3.0, < 2.3.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 2, 2025 | Initial Analysis | [email protected] |
| Jun 4, 2025 | New CVE Received | [email protected] |
| Jun 4, 2025 | CVE Modified | CISA-ADP |