Severity: 
    CVSS 3.1: 6.8 (medium) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected versions:

- Apache Camel (org.apache.camel:camel-shiro) 4.0.0 before 4.18.6
- Apache Camel (org.apache.camel:camel-shiro) 4.19.0 before 4.22.3
- Apache Camel (org.apache.camel:camel-shiro) 4.23.0 before 4.24.0

Description:

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.

Solution:

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:

Shashank Mohan Jain (finder)
Andrea Cosentino (remediation developer)

References:

https://camel.apache.org/security/CVE-2026-116484.html
https://issues.apache.org/jira/browse/CAMEL-26323
https://github.com/apache/camel/pull/28522
https://github.com/apache/camel/pull/28570
https://github.com/apache/camel/pull/28569
https://camel.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-116484

Reply via email to