CVE-2026-46495: Jmx Authenticator Object Array Cast

JMXAuthenticator implementation inappropriately casts credentials to generic `Object[]`. When paired with missing JEP 290 deserialization filters (`jmx.remote.rmi.server.credentials.filter.pattern`), this permits unauthenticated attackers to supply a malicious gadget chain array, leading to Remote Code Execution. Explicitly enforce strong types (e.g., `insta

Provally CuratedPublic repositoryCriticalMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-46495-jmx-authenticator-object-array-cast --engine opengrep

Description

JMXAuthenticator implementation inappropriately casts credentials to generic `Object[]`. When paired with missing JEP 290 deserialization filters (`jmx.remote.rmi.server.credentials.filter.pattern`), this permits unauthenticated attackers to supply a malicious gadget chain array, leading to Remote Code Execution. Explicitly enforce strong types (e.g., `insta