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.
CVE-2026-49983
This medium-severity CVE scores 5.2 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.1%, top 99% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.2
- EG Score
- 5.2(medium)
- EPSS
- 1.0%
- KEV
- Not listed
Published
June 16, 2026
Last Modified
June 29, 2026
Advisory Details (1)
Auto-updated Jun 23, 2026process.loadEnvFile() bypasses env permission checks and mutates process.env with only read access · Advisory · denoland/deno · GitHub
https://github.com/denoland/deno/security/advisories/GHSA-4c8g-jvcx-v4hvVendor Advisories for CVE-2026-49983(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| deno | — | 2.8.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 23:08 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-05 09:39 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 09:08 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 04:09 UTCEG score recompute
- 2026-07-02 03:34 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 03:03 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 02:32 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 02:01 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 01:30 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 00:59 UTCEG score recompute
- 2026-06-26 00:27 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 23:40 UTCEG score recompute
- 2026-06-24 14:05 UTCEPSS rescore
Show 8 moreShow fewer
- 2026-06-23 23:09 UTCEG score recompute
- 2026-06-22 22:38 UTCEG score recompute
- 2026-06-21 22:03 UTCEG score recompute
- 2026-06-20 21:26 UTCEG score recompute
- 2026-06-19 20:54 UTCEG score recompute
- 2026-06-18 20:14 UTCEG score recompute
- 2026-06-17 19:37 UTCEG score recompute
- 2026-06-16 19:06 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-863
Frequently asked(5)
What is CVE-2026-49983?
When was CVE-2026-49983 disclosed?
Is CVE-2026-49983 actively exploited?
What is the CVSS score of CVE-2026-49983?
How do I remediate CVE-2026-49983?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-49983
Is Your Infrastructure Affected by CVE-2026-49983?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.