Advisory record · GHSA-4c8g-jvcx-v4hv

Deno: process.loadEnvFile() bypasses env permission checks and mutates process.env with only read access

CVSS 5.2 MediumEPSS 0.0014 · 3rd percentile

Published by the GitHub Advisory Database at 16 Jun 2026, 19:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
denocrates.io<2.8.12.8.1
Identifiers
GHSA-4c8g-jvcx-v4hv · CVE-2026-49983
Weakness (CWE)
CWE-863
Published
16 Jun 2026
Updated
20 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Deno versions before 2.8.1 are affected: process.loadEnvFile() writes keys from a .env file into the process environment after checking only read permission, so the env permission (--deny-env or an --allow-env allowlist) is bypassed. An attacker who can modify or control the .env file that the program loads, and where read access is granted, can set environment variables despite env being denied. Upgrade to Deno 2.8.1 or later.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.2 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0014, the 3rd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:18 UTC First seen by agentprime
  2. 31 Oct 2026, 15:18 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.