CVE-2025-48934: denoland deno · Insertion of Sensitive Information Into Sent Data
Affects denoland denoSource CVE Database V5
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
- 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:PExploitation evidence
Disclosed: evidence found.
CVE published 4 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
GitHubdenoland/denopkg:github/denoland/denoOther threats | Affected
| Fixed in
|
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
- github.com/denoland/deno/security/advisories/GHSA-7w8p-chxq-2789 (opens in a new tab)
- github.com/denoland/deno/pull/29079 (opens in a new tab)
- github.com/denoland/deno/commit/2959e083912420988066a001c2b2d6732a1b562f (opens in a new tab)
- github.com/denoland/deno/commit/946ccda1aa19a00c478a5e6826b75053b050d753 (opens in a new tab)
- docs.deno.com/api/deno/~/Deno.Env.toObject (opens in a new tab)
- docs.deno.com/runtime/fundamentals/security/ (opens in a new tab)