Temporarily disable Base64 intrinsics for CVE-2026-114938

Proprietary

Appends -XX:-UseBASE64Intrinsics to JAVA_TOOL_OPTIONS in the final Dockerfile stage when the base is a recognized, potentially affected or unverified OpenJDK image. Preserves existing JAVA_TOOL_OPTIONS. This is a temporary mitigation: Base64 decoding can get slower, and every JVM in the image prints Picked up JAVA_TOOL_OPTIONS on stderr, which can break scripts that parse java -version. Verify effective JVM flags after deployment and restart, and remove the flag after upgrading the JVM.

org.openrewrite.java.security.cve2026114938.DisableBase64Intrinsics
mod run . --recipe=org.openrewrite.java.security.cve2026114938.DisableBase64Intrinsics

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.