← Security advisories
Apache Camel security advisory

CVE-2026-116379

Camel-OAuth: Session Identifier Logged at Default INFO Level and Not Rotated on Authentication

Description

In Apache Camel camel-oauth component (from 4.11.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0), the default InMemorySessionStore logged newly created session identifiers at the default INFO level. Additionally, upon successful completion of the OAuth authorization code flow callback, the authenticated user profile was attached to the existing session without rotating the session identifier. An actor with read access to application logs could obtain the session identifier and present it in the session cookie to access protected routes as the authenticated user.

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 hataehoon

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26319 refers to the various commits that resolved the issue, and have more details.

References