denoland · Deno · published 2026-06-23
CVE-2026-49983Deno: process.loadEnvFile() bypasses env permission checks and mutates process.env with only read access
Routine No exploitation evidence; EPSS 0.1%.
CVE-2026-49983 is not known to be exploited in the wild. EPSS estimates a 0.1% chance of exploitation in the next 30 days, higher than 3% of all CVEs. This Deno vulnerability: CVSS 5.2 (v3.1). Fixed upstream in Deno 2.8.1, 2.8.0, 2.7.14, 2.7.12 (+2 more). Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Deno 2.8.1, 2.8.0, 2.7.14, 2.7.12, 2.7.10, 2.7.8.
Patch events
Language runtimeDeno
Deno security fixes: 9 CVEs
Upgrade to
2.8.12.8.02.7.142.7.122.7.102.7.8Why: CVE-2026-49402: Public proof-of-concept exists (SSVC exploitation: poc).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.1% (3th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 5.2 (v3.1)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- denoland deno
< 2.8.1(affected)
Description (from the CVE record)#
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.8.1, environment access is gated by the env permission. You can deny it with --deny-env, or restrict it to a specific allowlist with --allow-env=FOO,BAR. The expectation is that a program running without env permission cannot change process.env. process.loadEnvFile() (the Node-compatible API for loading variables from a .env file) does not honor this. It only checks that the program has read permission for the dotenv file, then writes every key in that file into the process environment — even when env access is denied. In effect, --allow-read plus a writable or attacker-controlled .env file is enough to defeat --deny-env. This vulnerability is fixed in 2.8.1.
Quoted from the CVE Program record.