CVE-2026-84178Apache Camel cross-site request forgery (CSRF)
CVSS score
6.1
Medium
CVSS 3.1 from apache.org
Exploit probability (EPSS)
0.18%
0.18% chance of exploitation in the next 30 days, higher than 7.69% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Cross-Site Request Forgery (CSRF) vulnerability in Apache Camel OAuth component.
This issue affects Apache Camel: from 4.11.0 before 4.18.5, from 4.19.0 before 4.22.1.
The authorization code callback did not carry a state parameter binding it to the authorization request that started the flow, and the callback did not verify one. An authorization code obtained in any browser could therefore be redeemed at the callback and associated with whichever session presented it, which is login cross-site request forgery: a victim can be silently signed in as an identity the attacker controls, so that actions the victim then performs, and data they then submit, land in the attacker's account. The same unvalidated callback handling also allowed the post-authentication redirect target to be influenced, giving an open redirect from a trusted origin. The state check runs before the authorization code is redeemed, so these paths are reachable without any interaction with the identity provider.
Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. The authorization request now issues a state value bound to the session, and the callback rejects a request whose state is absent or does not match, stopping the route with a 400 response. For deployments that cannot upgrade immediately, terminate the authorization code flow in a component that performs its own state binding rather than relying on the Camel callback. Note that after upgrading, a deployment behind a proxy that drops or rewrites the callback query string will begin to see 400 responses, because the state parameter must survive the round trip.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Check whether you're affected
Find every system running Apache Camel and compare its version with the affected versions.
Update to a fixed version
- Update Apache Camel to 4.18.5, 4.22.1 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| Apache Apache Camel | ≥ 4.11.0, < 4.18.5 · ≥ 4.19.0, < 4.22.1 |
Weakness
- CWE-352 cross-site request forgery (CSRF)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-84178 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-84178?
CVE-2026-84178 has a CVSS 3.1 base score of 6.1 (medium).
Which versions are affected?
Apache Apache Camel (≥ 4.11.0, < 4.18.5; ≥ 4.19.0, < 4.22.1)
Is there a patch for CVE-2026-84178?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.