CVE-2026-113632: Apache Camel: Camel-Google-Mail, -Drive, -Calendar, -Sheets: credential confusion - the component kept one API client built from the credentials of the first endpoint and served it to every endpoint
Exposure of Data Element to Wrong Session vulnerability in Apache Camel Google Mail, Google Drive, Google Calendar and Google Sheets components.
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.
The google-mail, google-mail-stream, google-drive, google-calendar, google-calendar-stream, google-sheets and google-sheets-stream components created a single Google API client per component, from the credentials (clientId, clientSecret, refreshToken or accessToken, or serviceAccountKey with delegate) of the first endpoint that needed one, and handed that client to every other endpoint of the component regardless of the credentials configured on it. In an application whose routes use several Google accounts, every endpoint therefore acted as the first account: messages were read and sent in its mailbox, and files, events and spreadsheets were read and changed in it, without any log entry. An application that uses a single Google account is not affected.
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
Apache Camelto a version that resolves this vulnerability.Fixed in 4.24.0 - Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.18.6 - Upgrade
Upgrade
Apache Camelto a version that resolves this vulnerability.Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using the affected Google components with routes configured for several Google accounts are exposed. Applications that use only one Google account are not affected.
What credentials can cause one account to be used by other endpoints?
The shared client could be created from the first endpoint using clientId, clientSecret, refreshToken, accessToken, or a serviceAccountKey with a delegate. Other endpoints in that component could then use that first account regardless of their own configured credentials.
What is the practical impact of the client mix-up?
Endpoints could read and send messages through the first account's mailbox, or read and modify that account's files, calendar events, and spreadsheets. The issue affects google-mail, google-mail-stream, google-drive, google-calendar, google-calendar-stream, google-sheets, and google-sheets-stream.
Can application logs confirm that this occurred?
The described cross-account activity occurs without any log entry. Review routes that use multiple Google accounts and determine which endpoint first created a client for each affected component.
Which updates address the issue?
Upgrade to Apache Camel 4.24.0. For the 4.22.x LTS stream, upgrade to 4.22.3.