# CVE-2024-34346: Deno permission escalation vulnerability via open of privileged files with missing `--deny` flag

Source: https://junglewise.ai/threats/cve-2024-34346-deno-permission-escalation-vulnerability-via-open-of-privileged  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-05-08  
License: CC BY 4.0 with a link back

CVE-2024-34346 · Severity: low · CVSS 3.1 · Published 2024-05-08

Deno permission escalation vulnerability via open of privileged files with missing `--deny` flag

Technologies: [deno (crates.io)](https://junglewise.ai/threats/technologies/deno). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-34346 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-34346 being exploited in the wild.

**How severe is CVE-2024-34346?** Low severity, with a CVSS score of 3.1, published 8 May 2024.

**Which products and versions are affected?** deno (crates.io) SEMVER:introduced=0,fixed=1.43.1.

**Is there a fix for CVE-2024-34346?** Yes. deno (crates.io): upgrade to 1.43.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-34346?** Check whether you run deno (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- deno (crates.io): upgrade to 1.43.1 or later

  ```sh
  cargo update -p deno
  ```


## Affected products

- deno (crates.io) SEMVER:introduced=0,fixed=1.43.1

## Identifiers

- CVE-2024-34346
- GHSA-23rx-c3g5-hv9w

## Related threats

- [Deno denial of service via non-ASCII WebSocket response headers](https://junglewise.ai/threats/cve-2026-55517-deno-denial-of-service-via-non-ascii-websocket-response-headers)
- [Deno environment permission bypass in process.loadEnvFile](https://junglewise.ai/threats/cve-2026-49983-deno-environment-permission-bypass-in-process-loadenvfile)
- [Deno sandbox bypass via missing post-DNS check in WebSocket API](https://junglewise.ai/threats/cve-2026-49860-deno-sandbox-bypass-via-missing-post-dns-check-in-websocket-api)
- [Deno network restriction bypass in fetch API](https://junglewise.ai/threats/cve-2026-49859-deno-network-restriction-bypass-in-fetch-api)
- [Deno missing cryptographic rounds in node:crypto checkPrime](https://junglewise.ai/threats/cve-2026-49440-deno-missing-cryptographic-rounds-in-node-crypto-checkprime)
