CVE-2025-48888
Rust vulnerability analysis and mitigation

Overview

CVE-2025-48888 affects Deno, a JavaScript, TypeScript, and WebAssembly runtime. The vulnerability was discovered in version 1.41.3 and affects versions prior to 2.1.13, 2.2.13, and 2.3.2. The issue involves incorrect handling of contradictory global permission flags, where deno run --allow-read --deny-read main.ts results in allowed permissions, even though 'deny' should take precedence (Deno Advisory).

Technical details

The vulnerability stems from a fast exit logic implementation that incorrectly handles contradictory global permission flags. When both --allow- and --deny- flags are provided for the same permission type, the system incorrectly grants the permission instead of enforcing the deny flag's precedence. The issue has been assigned a CVSS v4.0 score of 5.5 (Medium) with the vector string 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:P and is classified under CWE-863 (Incorrect Authorization) (NVD).

Impact

The vulnerability's impact is considered minimal as it only affects nonsensical combinations of flags that would not typically be used in production environments. The issue does not pose a significant risk to the general userbase due to the specific and unlikely combination of conditions required for exploitation (Deno Advisory).

Mitigation and workarounds

Users are advised to upgrade to the patched versions: 2.1.13, 2.2.13, or 2.3.2 or later. These versions contain fixes that properly handle contradictory global permission flags (Deno Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management