PT-2026-50145 · Deno · Deno
CVSS v3.1
8.4
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Deno versions prior to 2.7.14
Description
Deno's permission system on macOS enforces filesystem and execution restrictions by comparing requested paths against those supplied to
--deny-read, --deny-write, --deny-run, or --deny-ffi. The comparison was performed at the raw-byte level, whereas the APFS filesystem treats different Unicode spellings and case variations of the same name as the same file. This allows a program to bypass restrictions and access a denied path by using an equivalent Unicode spelling (such as NFD instead of NFC, ligatures, or different casing). Consequently, the permission check passes at the byte level, but the kernel resolves the paths to the same inode and grants access.Recommendations
Update to version 2.7.14.
Prefer using
--allow-* allowlists over --deny-* denylists.
Avoid relying on path case-sensitivity for security boundaries on macOS.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Deno