All vulnerabilities

Servers and applications

CVE-2025-48888

deno run with --allow-read and --deny-read flags results in allowed

Severity
Medium 5.5
Published
3 Jun 2025
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.1.13, 2.2.13, 2.3.2
Also known as
GHSA-xqxc-x6p3-w683
Sources
NVD, Project advisories (GitHub)

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…

Affected software

SoftwareAffected versions
DenoServers and applications · cpe:a: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
DenoServers and applications · github:denoland/deno
  • From 1.41.3 before 2.1.13

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-48888
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-48888
  • GitHub Advisory Database https://github.com/advisories/GHSA-xqxc-x6p3-w683
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-xqxc-x6p3-w683