Java4Shell, CVE-2026-114938
Last updated: 2026-11-18
This article explains how CVE-2026-114938, known as Java4Shell, relates to a Diskover deployment and what we recommend.
Summary
Diskover itself does not contain or require Java. This applies to all versions of Diskover. There is no Diskover patch to apply for this vulnerability.
The search tier does use Java. Elasticsearch and OpenSearch each ship with their own bundled Java Development Kit, called the JDK. That bundled JDK is what security scanners flag on search nodes.
A mitigation is available today. It is published by the researchers who reported the vulnerability. It is a single Java Virtual Machine setting, called a JVM option, on each search node, followed by a node restart.
The permanent fix comes from the search vendor. It is an Elasticsearch or OpenSearch release that bundles a patched JDK. At the time of writing, neither vendor has named a fixed release. We will update this article when one is available.
Is my search node affected?
A search node is affected only when both conditions are true.
The bundled JDK is in the affected range. The affected range is OpenJDK 17.0.6 and later, including 21, 25 and 27, until the fixed builds 17.0.21.1, 21.0.13.1, 25.0.5.1 and 27.0.1.1. Java 8 and Java 11 are not affected. To see the bundled version on a default package install:
/usr/share/elasticsearch/jdk/bin/java -version /usr/share/opensearch/jdk/bin/java -version
The processor is x86-64 with AVX-512 VBMI. That means Intel Xeon Ice Lake and later, or AMD Zen 4 and later. ARM64 systems are not affected. The check below is published by the researchers who reported the vulnerability. Run it on each Linux search node:
grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'
If all four flags are printed, the processor meets the condition. If any is missing, the node is not exposed to this vulnerability.
To identify the processor model on the same node:
lscpu | grep 'Model name'
Check every search node, because nodes in one cluster can run on different hardware. On cloud virtual machines the processor depends on the instance type. Repeat the check after any instance type change, since a newer processor generation can bring the exposure with it.
Recommended mitigation
The mitigation below is published by the researchers who reported the vulnerability. It is not a Diskover change. It is applied through the search tier's standard location for custom JVM options.
On each affected search node, create a new options file and restart the node. Do not edit the main jvm.options file.
Elasticsearch, file /etc/elasticsearch/jvm.options.d/cve-2026-114938.options:
-XX:-UseBASE64Intrinsics
OpenSearch, file /etc/opensearch/jvm.options.d/cve-2026-114938.options:
-XX:-UseBASE64Intrinsics
Restart one node at a time and wait for the cluster to return to green before the next node.
According to the researchers, this option turns off one processor-specific optimization for Base64 decoding. We do not expect a functional change in Diskover. In our own testing on OpenSearch we saw no measurable change in search or indexing performance with the option in place. That test ran on a processor type that is not affected, so results on affected hardware may differ. We will update this article if that changes.
The option can stay in place after the vendor fix is installed, or be removed at that point.
Additional guidance
Access to the search tier. The researchers report that Elasticsearch is exploitable only by an authenticated user. Keep authentication enabled on the search tier and keep it reachable only from the Diskover hosts and your administrators.
Java installed with the operating system. Diskover does not install or use a system Java. If your scanner flags a Java package that belongs to the operating system, patch it through your operating system vendor. Doing so has no effect on Diskover. Note that patching the system Java does not patch the JDK bundled inside Elasticsearch or OpenSearch.
Managed search services. If your search tier is Amazon OpenSearch Service or Elastic Cloud, the provider patches the runtime. Please check their status notices.
Permanent fix. Once Elastic or OpenSearch publishes a release with a patched JDK, we will update this article with the versions supported for each Diskover release.
For your vulnerability management team
Item | Answer |
|---|---|
Affected component | JDK bundled with Elasticsearch or OpenSearch on the search nodes |
Diskover application | Not affected, contains no Java |
Interim remediation | JVM option |
Permanent remediation | Search tier release with a patched JDK, date set by the vendor |
Comments
0 comments
Please sign in to leave a comment.