Cloudflare has released Managed Ruleset detections for Java4Shell, a critical OpenJDK Base64 decoder flaw that can enable remote code execution, while warning that patching remains essential.
Last updated
Calif disclosed Java4Shell (CVE-2026-114938) on November 17, 2026. The memory-corruption flaw in OpenJDK’s Base64 decoder is rated Critical with a CVSS 4.0 score of 9.2 out of 10, and OpenJDK and Oracle released security updates the same day.
The vulnerability can allow unauthenticated remote attackers to send malformed Base64 data to Java applications, corrupt adjacent memory and potentially achieve remote code execution. Calif demonstrated pre-authentication exploitation against Keycloak, Atlassian Jira, Atlassian Confluence, JFrog Artifactory, Jenkins and PingFederate in default configurations.
Cloudflare’s new detection rules are available in the Cloudflare Managed Ruleset for Pro, Business and Enterprise plans. They are enabled by default in Log mode because legitimate application-specific token formats can resemble attack traffic; customers can review matches in Security Events and switch the rule to Block after checking for false positives.
The WAF is an additional defensive layer rather than a replacement for updating Java runtimes. The flaw can be reached through paths outside WAF visibility, and embedded JDKs, container images and running JVMs may each require separate updates and service restarts. Cloudflare said it is developing a rule for the Free Managed Ruleset and has found no evidence of exploitation on its infrastructure to date.