CVE-2025-48888
Deno run with --allow-read and --deny-read flags results in allowed
5.3
MEDIUM
CVSS 3.1
EPSS 0.26%
Description
### Summary `deno run --allow-read --deny-read main.ts` results in allowed, even though 'deny' should be stronger. Same with all global unary permissions given as `--allow-* --deny-*`. ### Details Caused by the fast exit logic in #22894. ### PoC Run the above command expecting no permissions to be passed. ### Impact This only affects a nonsensical combination of flags, so there shouldn't be a real impact on the userbase.
How to fix CVE-2025-48888
To remediate CVE-2025-48888, upgrade the affected package to a fixed version below.
- —upgrade to 2.1.13 or later
- —upgrade to 0.212.0 or later
Is CVE-2025-48888 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 1.41.3, < 2.1.13
- >= 0.150.0, < 0.212.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |