---
cve: "CVE-2026-49406"
severity: "MEDIUM"
cvss: 5.5
epss: "17%"
vendor: "denoland"
kev: false
exploited: false
published: "2026-06-23 18:18:03"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-13T19:29:52+02:00"
---

# CVE-2026-49406

> 5.5 MEDIUM · 🧪 PoC

## Beschreibung

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.12, when Deno was run in BYONM mode (nodeModulesDir: "manual"), the module resolver did not validate that a package's resolved entrypoint stayed within its node_modules// directory. A malicious package.json whose main field contained .. segments was able to resolve to an arbitrary path on disk, and the resolver then read that file without consulting the --allow-read allowlist. This let a require("evil-pkg") call return the contents of a file that a direct Deno.readTextFileSync(...) call would have been blocked from reading. This vulnerability is fixed in 2.7.12.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Keine | good |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 825d2647dd0728723623623b6c7b00da7ddad10d (Commit)

## Referenzen

- <https://github.com/denoland/deno/security/advisories/GHSA-968w-xfqw-vp9q>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-49406) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
