Critical Java4Shell Flaw Allows RCE on Major Java Applications

November 18, 2026

A newly disclosed vulnerability dubbed "Java4Shell" allows remote code execution (RCE) in major Java applications when processing Base64-encoded data, echoing the destructive legacy of Log4Shell from 2021.

The flaw resides in OpenJDK's Base64 decoding routines, where a crafted payload can trigger arbitrary command execution on systems that process untrusted Base64 input. Security researchers demonstrated the attack against several popular Java frameworks, confirming that applications running standard JDK installations are vulnerable without any additional misconfiguration.

Unlike Log4Shell, which required a specific logging library, Java4Shell affects the core JDK itself, meaning the attack surface is significantly wider. Any Java application that accepts and decodes Base64 input from users, including web APIs, file upload handlers, and message processors, could be vulnerable.

Exploitation requires an attacker to send a specially crafted Base64 string that, when decoded by the JVM, triggers a chain of class loading and method invocation leading to arbitrary command execution. The technical details have been partially withheld to allow patching, but proof-of-concept exploits are expected to appear quickly.

Major Java vendors including Oracle, Amazon (Corretto), Eclipse (Adoptium), and Azul have rushed to publish patched builds. Organizations running Java applications in production are advised to update their JDK installations immediately and audit any endpoints that accept Base64 input.

The vulnerability carries a CVSS score of 9.8 (Critical) and is being tracked as CVE-2026-44319. As with Log4Shell, the speed of patching will determine whether this becomes a footnote or a catastrophe.

Source: BleepingComputer [1]


[1] BleepingComputer - Critical Java4Shell flaw allows RCE attacks on major Java applications