Cloudflare adds WAF detections for Java4Shell
Published:
Cloudflare has added six Java4Shell detection rules to its Managed Ruleset. They are initially being deployed in log mode by default.
On November 18, Cloudflare added six detection rules for the vulnerability CVE-2026-114938, known as Java4Shell, to its WAF Managed Ruleset. The rules look for malformed Base64 data in different parts of a request: headers, query values, body values and path segments, as well as Base64url JWT components and WebAuthn values. According to the changelog, they are being deployed in log mode by default because of the risk of false positives. The default therefore records matches rather than automatically blocking requests on the basis of these rules. The action can be overridden where needed. Cloudflare points to its accompanying technical article for further information.
Why it matters
Security teams can review the new detections in WAF logs and adjust the rule action where appropriate; the rules do not block by default.
Source retrieved: 2026-11-22