---
cve: "CVE-2025-48934"
severity: "MEDIUM"
cvss: 5.5
epss: "37%"
vendor: "denoland"
kev: false
exploited: false
published: "2025-06-04 20:15:24"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-14T01:01:15+02:00"
---

# CVE-2025-48934

> 5.5 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 5b85bdaf88e36a1fcae3e442d96f026e4e1f9b92 (Commit)
- 0117f27aef98e1bf9a8689fe5ab6b03b5a1453f7 (Commit)

## Referenzen

- <https://github.com/denoland/deno/security/advisories/GHSA-7w8p-chxq-2789>
- <https://github.com/denoland/deno/pull/29079>
- <https://github.com/denoland/deno/commit/2959e083912420988066a001c2b2d6732a1b562f>
- <https://github.com/denoland/deno/commit/946ccda1aa19a00c478a5e6826b75053b050d753>
- <https://docs.deno.com/api/deno/~/Deno.Env.toObject>
- <https://docs.deno.com/runtime/fundamentals/security/#environment-variables>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-48934) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
