← Security advisories
Apache Camel security advisory

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

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.

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.

References