Skip to main content
CVE-2025-48934VulnerabilityPublished

CVE-2025-48934: denoland deno · Insertion of Sensitive Information Into Sent Data

Affects denoland denoSource CVE Database V5

0

Not known to be exploited · CVSS 5.5 Medium : upgrade to 2.1.13 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.1.13
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 2026-10-25.

What to do

Upgrade denoland/deno to 2.1.13.

Affected software

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

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

AI-suggested

European organizations should immediately upgrade all Deno runtime instances to versions 2.1.13 or 2.2.13 and later, where the vulnerability is patched. Beyond patching, developers should avoid relying solely on the `--deny-env` flag for protecting sensitive environment variables. Instead, implement defense-in-depth by: 1) Minimizing the use of environment variables for secrets; prefer dedicated secret management solutions (e.g., HashiCorp Vault, AWS Secrets Manager) with strict access controls. 2) Restricting code execution contexts to trusted code only, preventing untrusted or third-party code from running within the same Deno environment. 3) Conducting thorough code reviews and static analysis to detect potential misuse of `Deno.env.toObject()` or other environment variable access patterns. 4) Employing runtime monitoring and anomaly detection to identify unexpected access to environment variables. 5) Educating developers about the limitations of `--deny-env` and encouraging explicit secret handling practices. Finally, organizations should audit existing deployments to identify any exposure of sensitive environment variables and rotate any secrets that may have been compromised prior to patching.

Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to versions 2.1.13 and 2.2.13, the `Deno.env.toObject` method ignores any variables listed in the `--deny-env` option of the `deno run` command. When looking at the documentation of the `--deny-env` option this might lead to a false impression that variables listed in the option are impossible to read. Software relying on the combination of both flags to allow access to most environment variables except a few sensitive ones will be vulnerable to malicious code trying to steal secrets using the `Deno.env.toObject()` method. Versions 2.1.13 and 2.2.13 contains a patch.

References

Community reviews

Loading reviews…