CVE-2026-116484
Camel-Shiro: Cross-Policy Authentication Bypass via JVM-Global SecurityManager
Description
In Apache Camel camel-shiro (all versions before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0), INI-based ShiroSecurityPolicy constructors set their SecurityManager in JVM-global static state, and ShiroSecurityProcessor obtained the subject globally via SecurityUtils.getSubject() rather than from the route's policy. In applications configuring multiple Shiro policies with different realms in the same JVM, credentials valid only in one realm could authenticate on routes protected by another policy.
Mitigation
Credit
This issue was discovered by Shashank Mohan Jain
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26323 refers to the various commits that resolved the issue, and have more details.