Path Traversal Vulnerability in Deno JavaScript Runtime
CVE-2026-49406

5.5MEDIUM

Key Information:

Vendor

Denoland

Status
Vendor
CVE Published:
23 June 2026

What is CVE-2026-49406?

Deno, a runtime for JavaScript and TypeScript, contains a critical vulnerability in its module resolver prior to version 2.7.12. This issue arises when Deno operates in BYONM mode with a custom nodeModulesDir setting. The resolver fails to validate the integrity of entry points defined in malicious package.json files, allowing these files to include '..' segments that can lead to arbitrary file paths on the disk. As a result, unauthorized files can be accessed beyond the predefined read restrictions of Deno, which poses a significant security risk. This vulnerability has been addressed in version 2.7.12 of Deno.

Affected Version(s)

deno < 2.7.12

References

CVSS V3.1

Score:
5.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.