# CVE-2025-48888: Deno run with --allow-read and --deny-read flags results in allowed

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-04T19:15:55.041Z
- Modified: 2026-09-10T03:50:25.589Z
- Also known as: GHSA-xqxc-x6p3-w683
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- denoland deno: >= 1.41.3, < 2.1.13; >= 2.2.0, < 2.2.13; >= 2.3.0, < 2.3.2
- deno (crates.io): from 1.41.3 before 2.1.13; from 2.2.0 before 2.2.13; from 2.3.0 before 2.3.2
- deno_runtime (crates.io): from 0.150.0 before 0.212.0
- deno deno: from 1.41.3 before 2.1.13; from 2.2.0 before 2.2.13; from 2.3.0 before 2.3.2

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `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`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/denoland/deno/security/advisories/GHSA-xqxc-x6p3-w683> (exploit, vendor-advisory, web)
- <https://github.com/denoland/deno/pull/22894> (issue-tracking, patch, web)
- <https://github.com/denoland/deno/pull/29213> (issue-tracking, patch, web)
- <https://github.com/denoland/deno/commit/2f0fae9d9071dcaf0a689bc7097584b1b9ebc8db> (patch, web)
- <https://github.com/denoland/deno/commit/9d665572d3cd39f997e29e6daac7c1102fc5c04f> (patch, web)
- <https://github.com/denoland/deno/commit/ef315b56c26c9ef5f25284a5100d2ed525a148cf> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48888> (advisory)
- <https://github.com/denoland/deno> (package)

## Sources

- CVE List: [CVE-2025-48888](https://www.cve.org/CVERecord?id=CVE-2025-48888), CVE Terms of Use, modified 2025-06-04
- GitHub Advisory Database: [GHSA-xqxc-x6p3-w683](https://github.com/advisories/GHSA-xqxc-x6p3-w683), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-48888](https://nvd.nist.gov/vuln/detail/CVE-2025-48888), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48888 · Whole record: https://cve.day/CVE-2025-48888.json · Rebuilt by cve.day 2026-11-25T22:58:58.761Z
