Skip to main content
Vulnerability Database/CVE-2026-93649

CVE-2026-93649: Eclipse Adoptium Website CSRF Vulnerability

CVE-2026-93649 is a CSRF vulnerability in Eclipse Adoptium website that allows attackers to redirect users to malicious downloads through URL manipulation. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93649 Overview

CVE-2026-93649 affects the Eclipse Adoptium website (adoptium.net), where the post-download page /[locale]/download accepts a download URL via the link query parameter. The server validates this parameter against trusted prefixes using String.startsWith() on the raw string. Browsers then apply RFC 3986 dot-segment normalisation before navigating, allowing an attacker to bypass the allowlist using path traversal sequences. A victim who follows a crafted adoptium.net link sees the genuine Temurin thank-you page while their browser downloads an attacker-controlled binary. The flaw maps to CWE-494: Download of Code Without Integrity Check.

Critical Impact

Attackers can distribute malicious binaries under the trust of the official Eclipse Temurin download workflow, enabling supply-chain style compromise of Java developers and build systems.

Affected Products

  • Eclipse Adoptium website (adoptium.net) deployments built from commit 0b24ea1 (2025-06-18)
  • All intermediate builds up to the fix in commit cbb53cf (2026-09-24)
  • The /[locale]/download route in src/app/[locale]/download/client.tsx

Discovery Timeline

  • 2026-09-24 - Fix committed as cbb53cf in the adoptium/adoptium.net repository
  • 2026-10-15 - CVE-2026-93649 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-93649

Vulnerability Analysis

The /[locale]/download page implements a redirect handoff: it reads a URL from the link query parameter and triggers client-side navigation using a <meta http-equiv="refresh"> tag. Before emitting the redirect, the server validates link against a static allowlist of trusted origins such as https://github.com/adoptium/temurin, https://cdn.azul.com/zulu/, and https://aka.ms/download-jdk/.

The validation uses String.startsWith() on the raw, un-normalised string. Browsers, however, follow the WHATWG URL Standard and resolve dot-segments (..) before issuing the request. This mismatch between server-side string comparison and browser-side URL normalisation creates a bypass primitive.

An attacker-supplied value such as https://github.com/adoptium/temurin/../../attacker/malware/releases/download/v1/jdk.exe passes the prefix check but resolves to https://github.com/attacker/malware/releases/download/v1/jdk.exe in the browser. The victim sees the official "Thank you for downloading Eclipse Temurin" page while a hostile binary downloads in the background.

Root Cause

The root cause is a parser differential. The server treats the URL as an opaque string and performs a lexical prefix match. The browser treats it as a structured URL and applies dot-segment resolution before navigating. Any trusted prefix hosted on a shared host like github.com becomes exploitable because traversal can escape the trusted path while remaining on the trusted origin.

Attack Vector

Exploitation requires only a crafted link to adoptium.net. No authentication, no privileges, and no user interaction beyond clicking a seemingly legitimate Adoptium URL are needed. The attacker benefits from the trust users place in the Adoptium brand and the visual confirmation of the genuine download page.

text
// Security patch in src/app/[locale]/download/client.tsx
// Improve Path Traversal Validation (#1390)
     redirect("/temurin/releases");
   }
 
-  // Validate allowed download link origins for security
-  const allowedOrigins = [
-    "https://github.com/adoptium/temurin",
-    "https://cdn.azul.com/zulu/",
-    "https://aka.ms/download-jdk/",
-    "https://github.com/ibmruntimes/",
-    "https://github.com/dragonwell-project/",
-    "https://developers.redhat.com/",
+  // Parse the URL first so that dot-segment normalisation (WHATWG URL Standard
+  // §4.4) is applied before any validation. Comparing the raw string with
+  // startsWith() would allow a path-traversal bypass such as:
+  //   https://github.com/adoptium/temurin/../../attacker/repo/...
+  // which passes a prefix check but resolves to an attacker-controlled path.
+  let parsedLink: URL;
+  try {
+    parsedLink = new URL(link);
+  } catch {
+    redirect("/temurin/releases");
+    return null;
+  }
+
+  // Allowlist entries are [origin, pathname prefix] pairs. Both origin and
+  // the normalised pathname must match so that a traversal cannot escape the
+  // trusted path prefix on a shared host (e.g. github.com).
+  const allowedPrefixes: [string, string][] = [

Source: adoptium/adoptium.net commit cbb53cf

Detection Methods for CVE-2026-93649

Indicators of Compromise

  • Outbound HTTP requests to adoptium.net/*/download URLs containing .. sequences or encoded variants (%2e%2e, %2E%2E) in the link query parameter.
  • Downloads of Java-related binaries (jdk.exe, jre.msi, *.tar.gz) from GitHub repositories outside github.com/adoptium/, github.com/ibmruntimes/, or github.com/dragonwell-project/.
  • Browser history entries showing navigation to adoptium.net immediately followed by a download from an unrelated GitHub organization.

Detection Strategies

  • Inspect proxy and web gateway logs for adoptium.net requests containing path-traversal tokens in query parameters, then correlate with the next outbound download.
  • Alert on Java runtime installations whose installer binary originated from a repository other than the official Temurin, Zulu, Microsoft, IBM, Dragonwell, or Red Hat distribution channels.
  • Hash newly installed JDK binaries and compare against published Temurin release checksums.

Monitoring Recommendations

  • Capture full URLs (not just hostnames) in web proxy telemetry so that query strings and traversal sequences are retained for retrospective hunts.
  • Monitor endpoint download directories for executables whose download referrer chain begins at adoptium.net but terminates at a non-allowlisted origin.
  • Review browser or EDR process-tree telemetry to attribute dropped JDK installers to the originating URL.

How to Mitigate CVE-2026-93649

Immediate Actions Required

  • Confirm the production adoptium.net deployment is built from commit cbb53cf or later; the fix is already live upstream.
  • For self-hosted mirrors or forks of adoptium/adoptium.net, rebase onto the patched client.tsx and redeploy.
  • Audit recent Java runtime installations across the environment and verify installer checksums against official Temurin release manifests.

Patch Information

The fix lands in commit cbb53cf4a41f068a70902217473d7e2fe5d6c6ad of adoptium/adoptium.net. The patch replaces the raw String.startsWith() prefix check with a parsed URL object comparison, matching both origin and normalised pathname against an [origin, pathname prefix] allowlist. Additional context is published in GHSA-f228-m952-5r6w and the Eclipse CVE assignment work item.

Workarounds

  • Direct users and automation to download Temurin binaries directly from github.com/adoptium/temurin*/releases and bypass the adoptium.net redirect page.
  • Add a web proxy rule that blocks adoptium.net URLs whose link parameter contains .., %2e%2e, or %2E%2E.
  • Pin JDK provisioning scripts to specific release asset URLs and verify SHA-256 checksums before installation.
bash
# Example proxy rule: block adoptium.net redirects containing dot-segment traversal
# Squid ACL
acl adoptium_host dstdomain adoptium.net
acl traversal_link url_regex -i ^https?://[^?]+\?.*[?&]link=[^&]*(\.\.|%2e%2e|%2E%2E)
http_access deny adoptium_host traversal_link

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.