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
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.
Affected Maven artifacts (4)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-google-calendarpreliminary | >= 4.0.0, < 4.18.6>= 4.19.0, < 4.22.3>= 4.23.0, < 4.24.0 | 4.18.6, 4.22.3, 4.24.0 |
| org.apache.camel » camel-google-drivepreliminary | >= 4.0.0, < 4.18.6>= 4.19.0, < 4.22.3>= 4.23.0, < 4.24.0 | 4.18.6, 4.22.3, 4.24.0 |
| org.apache.camel » camel-google-mailpreliminary | >= 4.0.0, < 4.18.6>= 4.19.0, < 4.22.3>= 4.23.0, < 4.24.0 | 4.18.6, 4.22.3, 4.24.0 |
| org.apache.camel » camel-google-sheetspreliminary | >= 4.0.0, < 4.18.6>= 4.19.0, < 4.22.3>= 4.23.0, < 4.24.0 | 4.18.6, 4.22.3, 4.24.0 |
Blast radius
83% of the dependent artifacts (44) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,060 |
| 2 hops | 2,872 |
| 3 hops | 540 |
| 4 hops | 456 |
| 5 hops | 1,360 |
| 6 hops | 48 |
Most used dependents
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » camel-kamelet-main6 usages
- io.kaoto.forage » integration-tests-common6 usages
- org.apache.camel » apache-camel5 usages
- org.apache.camel » camel-catalog-console3 usages
- org.apache.camel » camel-report-maven-plugin3 usages
- org.apache.camel » camel-jbang-plugin-kubernetes3 usages
- org.apache.camel.quarkus » camel-quarkus-google-calendar3 usages
- org.apache.camel.quarkus » camel-quarkus-google-drive3 usages
- org.apache.camel.quarkus » camel-quarkus-google-mail3 usages
- org.apache.camel.quarkus » camel-quarkus-google-sheets3 usages
Computed from the dependency graph of build 20261203.1441 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | security/CVE-2026-113632.html | camel.apache.org |
| Advisory | CVE record CVE-2026-113632 | github.com |
| Advisory | NVD CVE-2026-113632 | nvd.nist.gov |
| Fix | apache/camel pull request #28217 | github.com |
| Fix | apache/camel pull request #28439 | github.com |
| Fix | apache/camel pull request #28442 | github.com |
| Report | jira/browse/CAMEL-25889 | issues.apache.org |
| Web | maven2 | repo.maven.apache.org |
