Missing Critical Step in Authentication Affecting org.apache.camel:camel-shiro package, versions [4.0.0,4.18.5)[4.19.0,4.22.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-21429970
  • published22 Oct 2026
  • disclosed19 Oct 2026
  • creditClaude Security

Introduced: 19 Oct 2026

NewCVE-2026-84181  (opens in a new tab)
CWE-304  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-shiro to version 4.18.5, 4.22.1 or higher.

Overview

Affected versions of this package are vulnerable to Missing Critical Step in Authentication via the authenticateUser() method in ShiroSecurityProcessor in the Shiro component. An attacker can access Shiro-protected routes as an authenticated user by sending an exchange that names a principal already bound to a reused worker thread, without valid credentials of their own; the processor accepts the exchange without verifying its password. This occurs when alwaysReauthenticate=false and the prior subject remains bound to the thread.

Notes

  • The authentication bypass is gated on alwaysReauthenticate=false; the default is true, which logs out the subject after each exchange and masks the flaw.

Workarounds

  • Clear the Shiro subject from the thread at the end of every exchange to prevent a reused worker thread from carrying an authenticated subject into a later exchange.

CVSS Base Scores

version 4.0
version 3.1