Cloudflare adds WAF rules for Java4Shell
Published:
Cloudflare has released detection rules for attempts to exploit the Java4Shell OpenJDK flaw. The rules initially log matches rather than block them.
Cloudflare has released rules for its Managed Ruleset intended to detect malformed Base64 input associated with CVE-2026-114938. The vendor says the rules are available on Pro, Business and Enterprise plans and default to logging because legitimate traffic can resemble the detection patterns. Security teams can review matches in Security Events and switch the action to block after assessing the impact. Cloudflare explicitly describes the web application firewall as an additional layer, not a replacement for updating the Java runtime. Attack paths outside the WAF's visibility remain beyond these rules. Teams taking inventory should also account for embedded runtimes and container images.
Why it matters
Security teams can inspect matching requests before enabling blocking. Cloudflare says the rules do not replace updates to affected Java runtimes.
Source retrieved: 2026-12-02