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-91398 Overview
CVE-2026-91398 is a networking vulnerability affecting Oracle Java SE, Oracle GraalVM for JDK, and Oracle GraalVM Enterprise Edition. The flaw resides in the Networking component and is reachable through SOCKS5 protocol handling. An unauthenticated remote attacker with network access can exploit this issue to compromise integrity across the affected runtime. Successful exploitation enables unauthorized creation, deletion, or modification of accessible data. The vulnerability carries a scope change, meaning attacks may significantly impact additional products beyond the vulnerable component. Oracle disclosed this issue as part of the October 2026 Critical Patch Update.
Critical Impact
Remote, unauthenticated attackers can modify or delete data accessible to the Java runtime by abusing SOCKS5 networking behavior, with impact extending beyond the Java process boundary.
Affected Products
- Oracle Java SE: 8u503, 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 CVE-2026-91398 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-91398
Vulnerability Analysis
The vulnerability affects the Networking component of Oracle Java SE and GraalVM distributions. The flaw is reachable through SOCKS5 protocol handling, which the Java runtime uses when applications establish proxied network connections. Attackers can trigger exploitation remotely over the network without authentication or user interaction.
The vulnerability only impacts integrity. Confidentiality and availability remain unaffected, but an attacker can create, delete, or modify data accessible to the Java runtime. The scope change indicator signals that successful attacks reach resources outside the vulnerable Java component, affecting other processes or services that trust its output.
Oracle rates the vulnerability as difficult to exploit, suggesting that specific preconditions must align, such as controlling an upstream SOCKS5 endpoint or inducing the client to route traffic through an attacker-controlled proxy. The issue also applies to legacy sandboxed Java Web Start applications and applets that execute untrusted code.
Root Cause
The root cause is an input validation weakness in how the Java networking stack processes SOCKS5 protocol data. Oracle has not published a detailed technical breakdown, and no CWE identifier has been assigned. Refer to the Oracle Critical Patch Update - October 2026 advisory for vendor-authoritative details.
Attack Vector
Exploitation requires network access to the Java runtime through SOCKS5. A remote attacker can abuse APIs in the Networking component, including through web services that feed data into these APIs. For sandboxed Java deployments, the attack path extends to Java Web Start applications or applets that load untrusted code from the internet and depend on the sandbox for isolation. No credentials or user interaction are required.
No public proof-of-concept code is available, and no verified exploitation samples have been published. Refer to the Oracle advisory for authoritative technical details.
Detection Methods for CVE-2026-91398
Indicators of Compromise
- Unexpected outbound SOCKS5 connections (TCP port 1080 or custom proxy ports) originating from Java processes such as java, javaw, or GraalVM native-image binaries.
- Unauthorized modification, creation, or deletion of files, database records, or configuration items touched by Java application service accounts.
- Anomalous JVM network traffic directed to untrusted or newly registered proxy endpoints.
Detection Strategies
- Inventory all Java and GraalVM installations and compare installed versions against the affected version list from the Oracle October 2026 CPU.
- Monitor Java application logs and proxy configuration for SOCKS5 usage, particularly socksProxyHost and socksProxyPort system properties set at runtime.
- Alert on unexpected process-to-network behavior where JVM processes initiate SOCKS5 handshakes outside documented application patterns.
Monitoring Recommendations
- Instrument endpoint and network telemetry to flag JVM-initiated connections to external SOCKS5 proxies.
- Capture file integrity monitoring events on data stores accessed by Java service accounts to identify unauthorized modifications tied to scope-changing impact.
- Correlate web service request logs with downstream JVM network activity to identify API-driven exploitation attempts.
How to Mitigate CVE-2026-91398
Immediate Actions Required
- Apply the October 2026 Oracle Critical Patch Update to all affected Oracle Java SE, GraalVM for JDK, and GraalVM Enterprise Edition installations.
- Audit applications for SOCKS5 proxy usage and restrict the set of allowable proxy endpoints to trusted hosts only.
- Disable or remove Java Web Start deployments and browser applet execution where feasible, as these expand the attack surface for sandbox-dependent code paths.
Patch Information
Oracle addressed this vulnerability in the October 2026 Critical Patch Update. Review the Oracle Critical Patch Update - October 2026 for patch availability, download locations, and version mappings across Java SE and GraalVM distributions.
Workarounds
- Block outbound SOCKS5 traffic from JVM hosts at the network perimeter where SOCKS5 is not a documented application requirement.
- Enforce JVM system property restrictions through startup flags to prevent runtime override of proxy configuration by untrusted inputs.
- Isolate Java runtimes that process untrusted network input in segmented network zones with strict egress controls until patching is complete.
# Example: disable SOCKS proxy use at JVM startup and restrict networking
java -Djava.net.useSystemProxies=false \
-DsocksProxyHost= \
-DsocksProxyPort= \
-Djava.security.manager \
-Djava.security.policy=/etc/java/restricted.policy \
-jar application.jar
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

