Improper access control in Deno - CVE-2025-48934

 

Improper access control in Deno - CVE-2025-48934

Published: April 23, 2026


Vulnerability identifier: #VU127057
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-48934
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper access control in Deno.env.toObject() when enumerating environment variables under a --deny-env restriction. A remote user can execute malicious code that calls Deno.env.toObject() to disclose sensitive information.

The issue affects programs that rely on --allow-env together with --deny-env to block access to selected environment variables.


Affected software

Deno

How to mitigate CVE-2025-48934

Install security update from vendor's website.

Deno - update to 2.1.13

External References

Related Security Bulletins