Improper Handling of Unicode Encoding Affecting deno package, versions <2.7.14


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-DENO-17660659
  • published27 Jun 2026
  • disclosed16 Jun 2026
  • creditUnknown

Introduced: 16 Jun 2026

NewCVE-2026-49401  (opens in a new tab)
CWE-176  (opens in a new tab)
CWE-41  (opens in a new tab)

How to fix?

Upgrade deno to version 2.7.14 or higher.

Overview

deno is an a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Affected versions of this package are vulnerable to Improper Handling of Unicode Encoding via the path comparison process. An attacker can bypass intended access restrictions by supplying alternate Unicode or case-equivalent spellings of file paths on macOS APFS volumes. This is only exploitable if the application is running on macOS with APFS and relies on deny-list flags with paths containing characters that have alternate Unicode spellings or case-sensitive aliases.

Workaround

This vulnerability can be mitigated by preferring allow-list flags over deny-list flags and avoiding reliance on case-sensitivity of paths on macOS for security boundaries.

References

CVSS Base Scores

version 4.0
version 3.1