All vulnerabilities

Servers and applications

CVE-2026-49401

Deno Permission Bypass via Unicode Normalization Mismatch on macOS (APFS)

Severity
High 8.4
Published
27 May 2026
Last changed
25 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.7.14
Exploit chance
0.2% in the next 30 daysHigher than 9% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-41CWE-176
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Also known as
GHSA-8xpq-cjcf-3wh9
Sources
NVD, Project advisories (GitHub)

Description

Deno's permission system enforces filesystem and execution restrictions by comparing the requested path against the path supplied to --deny-read, --deny-write, --deny-run, or --deny-ffi. On macOS, that comparison was done at the raw-byte level while the APFS filesystem treats different Unicode spellings of the same name as the same file.

That means a program could reach a denied path by spelling it differently than the deny rule. For example, with --deny-read=/secrets/passwörter.txt, a script could still read the file by opening /secrets/passwo\u0308rter.txt (NFD instead of NFC), or /SECRETS/PASSWÖRTER.txt (different case, since default APFS volumes are case-insensitive). Other forms include ligature characters (fi vs fi, ff vs ff, …) and German ß vs ss.

The denied path and the requested path differed at the byte level, so Deno's permission check passed; the kernel then resolved them to the same inode and served the file anyway.

From denoland/deno's security advisory. Shortened; the full text is there.

Workarounds

If you cannot upgrade immediately:

  • Prefer --allow- allowlists over --deny- denylists. Allow rules match against the original specifier, so an attacker-supplied alternate spelling will not match a path you didn't explicitly grant.
  • Do not rely on case-sensitivity of paths on macOS for security boundaries; default APFS volumes are case-insensitive.
Workarounds as given by denoland/deno's security advisory.

Affected software

SoftwareAffected versions
DenoServers and applications · cpe:a:deno:deno
  • Every version before 2.7.14
DenoServers and applications · github:denoland/deno
  • Every version before 2.7.14

About Deno

secure runtime for JavaScript and TypeScript based on the V8 JavaScript engine and the Rust programming language

From Wikidata, CC0 1.0.
Monthly active users
400k+Deno
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Weekly downloads (npm)
530,707npm, 15 Nov 2026
Downloads in the last 90 days (crates.io)
2,447crates.io, 15 Nov 2026
Total downloads (crates.io)
634,116crates.io, 15 Nov 2026
Docker Hub pulls
9,367,609Docker Hub, 15 Nov 2026
GitHub stars
108,888GitHub, 15 Nov 2026
Forks
7,444GitHub, 15 Nov 2026
Latest release
v2.9.8GitHub, 15 Nov 2026
Released
21 Oct 2026GitHub
Developer
Ryan DahlWikidata
License
MIT LicenseWikidata
Written in
Rust, TypeScript, JavaScriptWikidata
First released
13 May 2018Wikidata
First published on GitHub
15 May 2018GitHub

Release lines

ReleaseLatestSecurity fixes
2.92.9.8Yes
2.82.8.3Ended 25 Jun 2026
2.72.7.14Ended 22 May 2026
2.62.6.10Ended 25 Feb 2026
2.5 (LTS)LTS2.5.7Ended 30 Apr 2026
2.42.4.5Ended 10 Sept 2025

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-49401
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-49401
  • GitHub Advisory Database https://github.com/advisories/GHSA-8xpq-cjcf-3wh9
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-8xpq-cjcf-3wh9