CVE-2026-116484: Apache Camel: Camel-Shiro: Cross-Policy Authentication Bypass via JVM-Global SecurityManager
Improper Authentication vulnerability in Apache Camel Shiro component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
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.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.24.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications using the Camel Shiro component and configuring multiple Shiro policies with different realms in the same JVM are exposed. A credential valid only in one realm may then authenticate to routes protected by a different policy.
What does an attacker need to exploit the bypass?
The attacker needs credentials that are valid in one configured Shiro realm. Exploitation depends on the application having another route protected by a different Shiro policy in the same JVM.
Are all Camel-Shiro configurations affected by default?
The issue is specifically described for applications that configure multiple Shiro policies with different realms in one JVM. The provided information does not establish that a single-policy or single-realm deployment is affected.
What versions should be used to remediate the issue?
Upgrade to Apache Camel 4.24.0. For the 4.22.x LTS stream, upgrade to 4.22.3; for the 4.18.x LTS stream, upgrade to 4.18.6.