{"id":"EUVD-2025-16913","enisaUuid":"0a067425-0ae6-3927-9a77-cbc3bdabd403","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.","datePublished":"Jun 4, 2025, 7:21:17 PM","dateUpdated":"Jun 4, 2025, 7:32:14 PM","baseScore":5.5,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/denoland/deno/security/advisories/GHSA-7w8p-chxq-2789\nhttps://github.com/denoland/deno/pull/29079\nhttps://github.com/denoland/deno/commit/2959e083912420988066a001c2b2d6732a1b562f\nhttps://github.com/denoland/deno/commit/946ccda1aa19a00c478a5e6826b75053b050d753\nhttps://docs.deno.com/api/deno/~/Deno.Env.toObject\nhttps://docs.deno.com/runtime/fundamentals/security/#environment-variables\n","aliases":"CVE-2025-48934\nGHSA-7w8p-chxq-2789\n","assigner":"GitHub_M","epss":0.44,"enisaIdProduct":[{"id":"1eb6b5a1-9dd7-3622-ae61-47983c8ea8bb","product":{"name":"deno","vendor":{"name":"denoland"}},"product_version":"\u003c 2.1.13"},{"id":"b0d100d6-2e97-3dbf-8a68-b53a88cdb2cc","product":{"name":"deno","vendor":{"name":"denoland"}},"product_version":"2.2.0, \u003c 2.2.13"}],"enisaIdVendor":[{"id":"6bdcda00-e087-36c9-a095-0975de485968","vendor":{"name":"denoland"}}],"enisaIdVulnerability":[{"id":"358287cd-cfa7-300e-ad3a-0ffe329bce11","vulnerability":{"id":"CVE-2025-48934","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.","datePublished":"Jun 4, 2025, 7:21:17 PM","dateUpdated":"Jun 4, 2025, 7:32:14 PM","status":"PUBLISHED","baseScore":5.5,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://github.com/denoland/deno/security/advisories/GHSA-7w8p-chxq-2789\nhttps://github.com/denoland/deno/pull/29079\nhttps://github.com/denoland/deno/commit/2959e083912420988066a001c2b2d6732a1b562f\nhttps://github.com/denoland/deno/commit/946ccda1aa19a00c478a5e6826b75053b050d753\nhttps://docs.deno.com/api/deno/~/Deno.Env.toObject\nhttps://docs.deno.com/runtime/fundamentals/security/#environment-variables\n","enisa_id":"EUVD-2025-16913\n","assigner":"GitHub_M","epss":0.44,"dataProcessed":"Nov 15, 2026, 5:16:44 AM","vulnerabilityProduct":[{"id":"4f194076-8252-3c16-8d9e-442edc64c08a","product":{"name":"deno","vendor":{"name":"denoland"}},"product_version":"\u003c 2.1.13"},{"id":"d344a75e-d938-3f56-9497-590b3ea204ba","product":{"name":"deno","vendor":{"name":"denoland"}},"product_version":"2.2.0, \u003c 2.2.13"}],"vulnerabilityVendor":[{"id":"f8aceb1f-d4bd-3d45-83dc-b9398a7e085c","vendor":{"name":"denoland"}}]}},{"id":"4673c863-b9d2-3e90-997e-112ed2381a4f","vulnerability":{"id":"GHSA-7w8p-chxq-2789","description":"Deno.env.toObject() ignores the variables listed in --deny-env and returns all environment variables","datePublished":"Jun 4, 2025, 9:18:18 PM","dateUpdated":"Jul 2, 2025, 6:31:08 PM","baseScore":0.0,"references":"https://github.com/denoland/deno/security/advisories/GHSA-7w8p-chxq-2789\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-48934\nhttps://github.com/denoland/deno/pull/29079\nhttps://github.com/denoland/deno/commit/2959e083912420988066a001c2b2d6732a1b562f\nhttps://github.com/denoland/deno/commit/946ccda1aa19a00c478a5e6826b75053b050d753\nhttps://docs.deno.com/api/deno/~/Deno.Env.toObject\nhttps://docs.deno.com/runtime/fundamentals/security/#environment-variables\nhttps://github.com/denoland/deno\n","enisa_id":"EUVD-2025-16913\n","aliases":"GHSA-7w8p-chxq-2789\nCVE-2025-48934\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:43:26 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}