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.0: 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/E:U/U:Clear
CVE-ID: CVE-2025-48934
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Deno Land
Affected software:
Deno

Detailed vulnerability description

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.


How to mitigate CVE-2025-48934

Install security update from vendor's website.

Sources