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
- CVE-2026-113632
- GHSA-hrjh-q53j-qfrc
- EUVD-2026-143287
Description
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.
Text from the CVE.org record.
Affected
Apache Software Foundation Apache Camel
- from 4.0.0 to before 4.18.6
- from 4.19.0 to before 4.22.3
- from 4.23.0 to before 4.24.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.