Security

Java2Shell (Java4Shell): a critical flaw in Java, who is really affected?

Read the step-by-step Java2Shell guide →

On 17 November 2026, Oracle fixed a Java flaw, CVE-2026-114938, nicknamed "Java4Shell" or "Java2Shell". According to the researcher who found it, it allows an attacker to take control of a server without credentials. Yet it only concerns some machines.

In short

Who should check?

Companies and administrators who run Java software on their servers: Tomcat, Jenkins, Jira, Confluence, Keycloak, Elasticsearch, business software, Minecraft servers. The researcher claims to have taken control, in their default configuration, of Keycloak, Jira, Confluence, Artifactory, Jenkins and PingFederate. He has not published his attack code.

If you have business or point-of-sale software installed by a provider, ask them whether it uses Java and which version.

What to do?

  1. Check the Java version, the processor and the running Java programs: the commands, which carry no risk, are in our step-by-step guide.
  2. While waiting for the fix, add the -XX:-UseBASE64Intrinsics startup option, recommended by Red Hat, then check that it is active.
  3. As soon as the fix is released, update Java and restart every Java service: without a restart, the old version stays in memory.

What we do not know yet

We will update this article and the guide when the fixes arrive.

Sources

← All news