Read the docs
TI-2024-18535 Aliases CVE-2024-27932GHSA-5frw-4rwq-xhcr

Deno's improper suffix match testing for DENO_AUTH_TOKENS

Priority MEDIUM 54CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, Deno improperly checks that an import specifier's hostname is equal to or a child of a token's hostname, which can cause tokens to be sent to servers they shouldn't be sent to. An auth token intended for `example[.]com` may be sent to `notexample[.]com`. Anyone who uses DENO_AUTH_TOKENS and imports potentially untrusted code is affected. Version 1.40.0 contains a patch for this issue

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00594 48th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed deno (denoland): 1.40.4deno (crates.io): 1.40.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
denolanddeno1.8.0 to before 1.40.41.40.4Patch availableCNA
—deno (crates.io)1.8.0 to before 1.40.41.40.4Patch availableGHSA-5frw-4rwq-xhcr
  • deno Vendordenoland Affected 1.8.0 to before 1.40.4 Fixed in 1.40.4 Patch available CNA
  • deno (crates.io) Vendor— Affected 1.8.0 to before 1.40.4 Fixed in 1.40.4 Patch available GHSA-5frw-4rwq-xhcr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*1.8.0 to before 1.40.4Vulnerabledenoland
  • cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:* Versions 1.8.0 to before 1.40.4 Vulnerable ·denoland

Remediation

  • Fix · CNA deno (denoland) Fixed in 1.40.4
  • Fix · GHSA-5frw-4rwq-xhcr deno (crates.io) Fixed in 1.40.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-27932
  2. 2026-10-03 Alias added: GHSA-5frw-4rwq-xhcr

References

  • TI-2026-21627 Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process CVSS 3.1CRITICAL 9.8
  • TI-2025-17782 Deno's AES GCM authentication tags are not verified CVSS 4.0HIGH 7.7
  • TI-2024-18537 *const c_void / ExternalPointer unsoundness leading to use-after-free CVSS 3.1HIGH 8.8
  • TI-2024-18536 Deno arbitrary file descriptor close via `op_node_ipc_pipe()` leading to permission prompt bypass CVSS 3.1HIGH 8.8
  • TI-2023-12990 Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization CVSS 3.1HIGH 8.8
  • TI-2023-11328 Regular expression denial of service in deno CVSS 3.1HIGH 7.5
See all 37 →

Sources