CVE-2025-48934

CVE-2025-48934 is a medium-severity vulnerability in Deno with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-201.

Key facts

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.

Frequently asked questions

What is CVE-2025-48934?
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.
How severe is CVE-2025-48934?
CVE-2025-48934 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity none, and availability none.
Is CVE-2025-48934 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-48934?
CVE-2025-48934 affects Deno. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-48934?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-48934 have an EU (EUVD) identifier?
Yes. CVE-2025-48934 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-16913.
When was CVE-2025-48934 published?
CVE-2025-48934 was published on 2025-06-04 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Deno

All CVEs affecting Deno →

Other CWE-201 vulnerabilities

Browse all CWE-201 vulnerabilities →