This opt-in policy adds JAVA_TOOL_OPTIONS=-XX:-UseBASE64Intrinsics to selected OpenJDK containers on Pod creation as a temporary mitigation for CVE-2026-114938. Upgrade to a patched JVM when your application image is available. Java4Shell advisory
Run kubectl api-resources --api-group=admissionregistration.k8s.io and check for both MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding.
- For Kubernetes 1.36 and later, change both
apiVersionfields toadmissionregistration.k8s.io/v1when discovery shows both resources at that version. Stable API docs - For Kubernetes 1.35, the YAML uses
v1beta1. The API server must enable theMutatingAdmissionPolicyfeature gate and the beta API. [Kubernetes 1.35 docs](https://v1-35.docs.kubernetes.io/docs/reference/access