Skip to main content
VulnerabilityPublished

CVE-2026-49983: denoland deno · Incorrect Authorization

Affects denoland denoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.2 Medium : upgrade to 2.8.1 when convenient.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 3.1 base score
5.2Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.8.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Upgrade deno and denoland/deno to 2.8.1.

Affected software

ProductAffectedFixed in
denolanddenoAffected
  • <2.8.1
Fixed in
  • 2.8.1
GitHubdenoland/denopkg:github/denoland/denoOther threatsAffected
  • <2.8.1
Fixed in
  • 2.8.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

This vulnerability is fixed in Deno version 2.8.1. Users should upgrade to version 2.8.1 or later to ensure that process.loadEnvFile() respects the env permission restrictions. Until upgraded, avoid running untrusted code with --allow-read permission on attacker-controlled .env files when using --deny-env. Patch status is confirmed fixed in 2.8.1.

Description

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.

References

Community reviews

Loading reviews…