Updated: 19:05 UTC, November 18, 2026
TL;DR: Java4Shell (CVE-2026-114938) is a high severity vulnerability affecting the OpenJDK HotSpot compiler, with a CVSS v3.1 score of 8.1. The published advisory identifies Java 17, 21, 25 and 27 release lines as affected, although exact vulnerable versions vary by distributor. Security teams should identify affected Java installations, prioritize production workloads and apply available security updates.
Aquasec has confirmed that its products are not affected and that CVE detection is available in both Online and Offline CyberCenter. Customers can identify affected images using native vulnerability scanning and Image Assurance Policies, with an additional custom compliance check available where vendor advisory coverage is incomplete.
What is the Java4Shell vulnerability?
Java4Shell, tracked as CVE-2026-114938, is a high severity vulnerability affecting certain Java 17, 21, 25 and 27 runtimes. Oracle assigns it a CVSS v3.1 score of 8.1 (High), although affected and fixed builds may differ by Java vendor.
According to the published OpenJDK advisory, the following Java release lines are affected:
| Java release line | Status |
| Java 17 | Affected |
| Java 21 | Affected |
| Java 25 | Affected |
| Java 27 | Affected |
The exact affected and fixed builds depend on the Java distributor. Organizations should consult their distributor’s security advisory to determine whether their installed Java version is vulnerable and which update resolves the issue.
Why does Java4Shell matter to cloud native environments?
Java is widely used in enterprise applications, including services deployed in containers and Kubernetes environments. A vulnerability affecting the Java runtime can therefore create exposure across multiple applications even when their underlying application code has not changed.
In containerized environments, Java installations are frequently packaged directly into application images. Updating Java on the underlying host does not necessarily update the version embedded within those images. Organizations may need to rebuild and redeploy applications to remove vulnerable versions from production.
This creates an immediate challenge for security teams. They need to identify which container images contain affected Java versions, determine where those images are deployed and prioritize remediation based on the applications and services potentially exposed.
Why is vulnerability scanning alone insufficient to address Java4Shell?
Vulnerability scanning is essential for identifying affected Java installations, but detection coverage depends on the vulnerability information published by individual Java and operating system vendors.
Although CVE-2026-114938 detection is now available in Aquasec’s vulnerability feeds, some vendors have published limited or no advisory information. This can create gaps in native package based CVE detection, even when an image contains a potentially affected Java runtime.
A missing vulnerability finding therefore does not necessarily mean an image is unaffected. Security teams should verify installed Java versions against the relevant vendor advisories and use additional checks where native detection coverage is incomplete.
Aquasec provides an optional custom compliance check that examines Java runtime versions in image filesystems to identify additional potentially affected images. This helps teams investigate possible exposure while vendor advisory coverage continues to develop.
What does an effective Java4Shell response look like?
An effective response begins with identifying affected Java installations across container images and deployed applications.
Security teams should review the Java distributions and versions used throughout their environments, paying particular attention to images supporting internet facing or business critical applications.
Once affected images have been identified, organizations should update Java to the fixed version recommended by their distributor, rebuild the affected images and redeploy the corrected applications.
Teams should then rescan updated images using current vulnerability information to help verify remediation. Where native CVE detection coverage is incomplete, additional Java version checks may be necessary. This verification is particularly important in containerized environments where older images may remain available in registries or continue to be deployed across multiple services.
How is Aquasec addressing Java4Shell?
Aquasec has confirmed that its products are not affected by CVE-2026-114938. Following a security assessment of supported and applicable previously released components, including Console, Scanner, Enforcer and other platform services, Aquasec determined that these components do not include or run a Java runtime. No Aquasec product update or remediation is required.
Customers using NanoEnforcer for Java should review the Java runtime supplied by their environment and update it if affected. NanoEnforcer itself does not provide a Java runtime.
CVE-2026-114938 detection is now available in both Online and Offline CyberCenter. Customers can use native vulnerability scanning and Image Assurance Policies to identify container images with matching CVE findings.
Customers can configure an Image Assurance Policy using the built in CVEs Blocked control, then rescan relevant images and review the results in Image Inventory.
For Java distributions where vendor advisory information is incomplete, Aquasec also provides an optional custom Rego compliance check. This check examines Java runtime versions in image filesystems to identify additional potentially affected images that may not yet produce a native CVE finding.
The custom check runs in audit mode by default, generating a high severity finding without causing the image to fail its assurance policy. Customers should review both native CVE findings and custom compliance results when assessing potential exposure.
For configuration instructions, supported detection guidance and the custom compliance check, see the Aquasec Knowledge Base article on identifying affected Java4Shell images.
What should security teams know about Java4Shell detection results?
Although CVE-2026-114938 is available in Aquasec vulnerability feeds, detection coverage can vary depending on the Java distribution and the availability of vendor advisory information.
Aquasec’s November 18 vendor assessment identified differences in coverage across operating systems. Amazon Linux has published advisories supporting native CVE matching for recognized packages, while gaps or incomplete coverage were identified for certain other distributions.
For example, a detection gap was observed in testing with Red Hat UBI9, despite the availability of native advisory data. For distributions without sufficient vendor advisory coverage, Aquasec recommends supplementing native scanning with the custom Java runtime check.
The optional Rego check identifies potentially affected Java versions but does not confirm exploitability. It also has limitations, including its inability to inspect Java runtimes stored in unextracted archives or compiled into native executables.
Because the custom check runs in audit mode by default, images identified only through Rego will not appear in the failed assurance policy filter. Security teams should review custom compliance findings separately to avoid overlooking potentially affected images.
A missing finding should not be interpreted as confirmation that an image is unaffected. Organizations should continue verifying their Java versions against the appropriate vendor advisories.
What should organizations do now to address Java4Shell?
Organizations should prioritize the following actions:
- Identify affected Java installations. Review container images and deployed applications for Java 17, 21, 25 and 27, confirming the exact affected versions against the relevant distributor advisory.
- Prioritize production exposure. Focus first on affected images supporting internet facing or business critical applications.
- Apply available security updates. Update Java to the fixed version recommended by the distributor, then rebuild and redeploy affected container images.
- Rescan using updated vulnerability content. CVE-2026-114938 detection is available in both Online and Offline CyberCenter. Rescan relevant images using the latest vulnerability content and review the associated CVE findings.
- Supplement native detection where needed. For Java distributions with incomplete vendor advisory coverage, use Aquasec’s optional custom compliance check to identify additional potentially affected images. Review both failed assurance policy findings and audit mode custom findings.
- Verify remediation. Confirm that corrected images have been deployed and that the relevant vulnerability findings have been resolved.
Java4Shell reinforces the importance of maintaining accurate software inventories and understanding the limitations of vulnerability detection across different Java distributions. With native CVE detection available and an additional custom compliance check for incomplete vendor coverage, Aquasec customers have multiple ways to identify potentially affected images and support remediation. Applying the appropriate Java security updates and verifying that corrected applications are deployed remain essential.
CVE-2026-114938, also known as Java4Shell, is a high severity vulnerability affecting the OpenJDK HotSpot compiler. It carries a CVSS v3.1 score of 8.1 and affects multiple Java release lines.
The published OpenJDK advisory identifies Java 17, 21, 25 and 27 release lines as affected. Exact vulnerable and fixed builds vary by distributor, so organizations should consult their Java vendor’s security advisory.
No. Aquasec has completed its security assessment and confirmed that its products are not affected by CVE-2026-114938. No Aquasec product update or remediation is required. Customers using NanoEnforcer for Java should review and update the Java runtime supplied by their environment if affected.
Yes. CVE-2026-114938 detection is available in both Online and Offline CyberCenter. Aquasec customers can use native vulnerability scanning and Image Assurance Policies to identify affected images, with an optional custom compliance check available for Java distributions where vendor advisory coverage is incomplete.
Aquasec customers should update Java to the fixed version recommended by their distributor, rebuild and redeploy affected images, then rescan them using updated vulnerability content. They should also confirm that corrected images are deployed in production.
No. Native CVE detection depends on vendor advisory information, which may be incomplete for some Java distributions. Aquasec provides an optional custom compliance check to help identify additional potentially affected Java runtimes. A missing finding from either method does not guarantee that an image is unaffected.