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

CVE-2026-91487: Oracle Java SE SQL Injection Vulnerability

CVE-2026-91487 is a SQL injection vulnerability in Oracle Java SE Compiler component affecting multiple Java versions. Attackers can gain unauthorized data access through network-based attacks. This article covers technical details, affected versions, security impact, and recommended mitigation strategies.

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-91487 Overview

CVE-2026-91487 is a medium-severity vulnerability affecting the Compiler component of Oracle Java SE, Oracle GraalVM for JDK, and Oracle GraalVM Enterprise Edition. The flaw allows an unauthenticated attacker with network access to compromise the integrity and confidentiality of data accessible to the Java runtime. Exploitation requires supplying data to APIs in the Compiler component through channels such as a web service, rather than through Java Web Start applications or applets. Oracle addressed the issue in the October 2026 Critical Patch Update.

Critical Impact

Successful exploitation can result in unauthorized update, insert, or delete access to a subset of Java SE accessible data, as well as unauthorized read access to a subset of Java SE accessible data.

Affected Products

  • Oracle Java SE: 8u503-perf, 11.0.32.1, 17.0.20.1, 21.0.12.1, 25.0.4.1, 27
  • Oracle GraalVM for JDK: 17.0.20.1 and 21.0.12.1
  • Oracle GraalVM Enterprise Edition: 21.3.19.1.1

Discovery Timeline

  • 2026-10-20 - CVE-2026-91487 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-91487

Vulnerability Analysis

The vulnerability resides in the Compiler component of Oracle Java SE and GraalVM. An unauthenticated attacker can reach the vulnerable code path over the network by submitting crafted input to APIs that invoke Compiler functionality. Oracle classifies the issue as difficult to exploit, and successful attacks yield limited read and write access to data processed by the Java runtime. Availability is not impacted, and the attack does not require user interaction.

Because the vulnerable surface is reachable through standard application APIs rather than through Java applets or Web Start, server-side workloads that compile or process untrusted code or expressions are the primary exposure. Common examples include services that evaluate user-supplied scripts, template engines, dynamic rule engines, and build pipelines that compile submitted sources.

Root Cause

Oracle has not published a detailed root-cause breakdown. The advisory attributes the flaw to the Compiler component and limits impact to confidentiality and integrity. Review the Oracle Security Advisory - October 2026 for authoritative details.

Attack Vector

The attack vector is network-based and does not require authentication or user interaction. An attacker delivers crafted data to a Compiler API, typically through a web service, REST endpoint, or any application-exposed interface that funnels input into Java compilation routines. Because exploitation requires supplying data without relying on applets or Web Start, the vector is restricted to applications that programmatically expose compiler functionality.

No verified public exploit code is available for CVE-2026-91487. Refer to the vendor advisory for technical specifics.

Detection Methods for CVE-2026-91487

Indicators of Compromise

  • No public indicators of compromise have been published for CVE-2026-91487 at this time.
  • Anomalous input to application endpoints that invoke Java compilation APIs, especially payloads containing malformed source constructs or unexpected tokens.

Detection Strategies

  • Inventory applications running affected Java SE and GraalVM versions and identify services that expose compiler functionality to untrusted input.
  • Enable application-level logging on APIs that call javax.tools.JavaCompiler, jdk.compiler, scripting engines, or GraalVM polyglot evaluation entry points.
  • Correlate repeated compilation failures or unusual exception traces originating from network-facing endpoints.

Monitoring Recommendations

  • Monitor outbound and lateral traffic from Java application servers for deviations from baseline behavior following suspect requests.
  • Alert on new or modified files written by Java processes outside expected working directories, consistent with unauthorized data modification.
  • Track process and child-process activity from the JVM to identify unexpected execution patterns associated with compiler abuse.

How to Mitigate CVE-2026-91487

Immediate Actions Required

  • Apply the October 2026 Oracle Critical Patch Update to all affected Java SE, GraalVM for JDK, and GraalVM Enterprise Edition deployments.
  • Audit application code paths that pass untrusted input to Java compilation or script evaluation APIs and apply strict input validation.
  • Restrict network exposure of services that invoke compiler functionality to trusted clients only.

Patch Information

Oracle released fixes as part of the October 2026 Critical Patch Update. Upgrade to the patched versions documented in the Oracle Security Advisory - October 2026. Server-side Java deployments that process untrusted input through Compiler APIs should be prioritized.

Workarounds

  • Disable or remove application features that expose Compiler APIs to unauthenticated users where patching cannot be performed immediately.
  • Place affected services behind a web application firewall configured to reject malformed or non-conforming payloads targeting compilation endpoints.
  • Apply least-privilege policies to the Java process so unauthorized read or write actions are constrained to a minimal data set.
bash
# Verify installed Java version and confirm patched release
java -version

# Example: upgrade an RPM-based Java SE package to the patched release
sudo yum update jdk-17

# Validate the updated runtime after upgrade
java -version

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.