{"cve":"CVE-2025-48934","nvd":{"published":"2025-06-04T20:15:24.163","modified":"2026-06-17T09:30:30.597","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":5.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-201"],"references":["https://docs.deno.com/api/deno/~/Deno.Env.toObject","https://docs.deno.com/runtime/fundamentals/security/#environment-variables","https://github.com/denoland/deno/commit/2959e083912420988066a001c2b2d6732a1b562f","https://github.com/denoland/deno/commit/946ccda1aa19a00c478a5e6826b75053b050d753","https://github.com/denoland/deno/pull/29079"],"products":["deno:deno"],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-48934","score":0.00444,"percentile":0.38669,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7w8p-chxq-2789","url":"https://osv.dev/vulnerability/GHSA-7w8p-chxq-2789","summary":"Deno.env.toObject() ignores the variables listed in --deny-env and returns all environment variables","modified":"2026-09-10T03:50:24.980985533Z","packages":[{"ecosystem":"crates.io","name":"deno","purl":"pkg:cargo/deno","ranges":["<2.1.13"],"fixed":["2.1.13"]},{"ecosystem":"crates.io","name":"deno","purl":"pkg:cargo/deno","ranges":[">=2.2.0 <2.2.13"],"fixed":["2.2.13"]},{"ecosystem":"crates.io","name":"deno_runtime","purl":"pkg:cargo/deno_runtime","ranges":["<0.212.0"],"fixed":["0.212.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}