{"id":"CVE-2026-80312","kind":"vulnerability","aliases":["CVE-2026-80312"],"related":[],"title":"Apache Camel: OAuth guard fails open, letting unauthenticated requests reach routes","description":"Improper Authentication vulnerability in Apache Camel OAuth component.\n\n\n\nThis issue affects Apache Camel: from 4.11.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\n\n\nThe camel-oauth processors that guard a route did not stop the exchange when authentication could not be completed. Where a failure to establish an authenticated session should have terminated routing and returned an error to the caller, the processors fell through and returned control to the route, so the request continued to the protected endpoint as though authentication had succeeded. The effect is a fail-open authentication guard: an unauthenticated caller reached whatever the route did next. The condition is reached on the ordinary request path of a route configured to require OAuth, and needs no special configuration or prior access on the caller's part.\n\n\n\nUpgrade 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 processors now stop the exchange and set the appropriate error status whenever an authenticated session cannot be established, so a failed authentication no longer reaches the protected part of the route. For deployments that cannot upgrade immediately, place an explicit authorization check after the OAuth processor rather than relying on it to halt the exchange, and verify that the route stops on failure.","summary":"The camel-oauth processors did not stop a request when authentication could not complete, so routing continued to the protected endpoint. An unauthenticated caller can reach whatever the guarded route does next.","severity":"high","cvss":8.2,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-camel","camel-oauth","java","package","self-hosted"],"not_affected_if":["no-camel-oauth","patched-version"],"how_to_check":"- Check the Camel version in use, for example with `mvn dependency:tree | grep camel-oauth` or by reading the camel-oauth version in the build file.\n- Look for routes that use the OAuth processor to guard an endpoint, and confirm they depend on it to halt the exchange.","fix":"- Upgrade Apache Camel to `4.23.0`.\n- If on the 4.18.x LTS stream, upgrade to `4.18.5`.\n- If on the 4.22.x LTS stream, upgrade to `4.22.1`.\n- Until upgraded, add an explicit authorization check after the OAuth processor and verify the route stops on failure.","status":"open","published_at":"2026-10-19T11:17:21+00:00","first_seen_at":"2026-10-23T21:57:17+00:00","triaged_at":"2026-10-25T03:04:26+00:00","updated_at":"2026-10-25T03:04:26+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T03:04:26Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Apache Camel to `4.23.0`.\n- If on the 4.18.x LTS stream, upgrade to `4.18.5`.\n- If on the 4.22.x LTS stream, upgrade to `4.22.1`.\n- Until upgraded, add an explicit authorization check after the OAuth processor and verify the route stops on failure.","reach":"internet","title":"Apache Camel: OAuth guard fails open, letting unauthenticated requests reach routes","impact":"high","summary":"The camel-oauth processors did not stop a request when authentication could not complete, so routing continued to the protected endpoint. An unauthenticated caller can reach whatever the guarded route does next.","category":"package","nicknames":[],"who_cares":["apache-camel","java","camel-oauth","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"unauthenticated callers reach protected route endpoints","analyst_note":"Confirm which protected endpoints and data a typical guarded route exposes, and whether the NVD entry lists a vendor advisory URL with more detail.","how_to_check":"- Check the Camel version in use, for example with `mvn dependency:tree | grep camel-oauth` or by reading the camel-oauth version in the build file.\n- Look for routes that use the OAuth processor to guard an endpoint, and confirm they depend on it to halt the exchange.","needs_analyst":true,"not_affected_if":["no-camel-oauth","patched-version"],"who_is_affected":"Applications using Apache Camel versions from 4.11.0 before 4.18.5 or from 4.19.0 before 4.22.1 that guard routes with the camel-oauth component. The exposure depends on what sits behind the guarded route, since the request proceeds to it when authentication fails. Teams not using camel-oauth can skip it.","user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000702,"input_tokens":3657,"output_tokens":672,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':13A,16A '-80312':14A,17A '4.11.0':76C '4.18':204C '4.18.5':78C,212C '4.19.0':80C '4.22':216C '4.22.1':82C,224C '4.23.0':196C 'access':186C 'affect':72C 'apach':1A,19B,66C,73C,194C 'apache-camel':18B 'appropri':234C 'authent':40B,63C,98C,109C,142C,152C,239C,247C 'author':266C 'caller':53B,121C,156C,189C 'camel':2A,20B,22B,31B,67C,74C,85C,195C 'camel-oauth':21B,30B,84C 'cannot':241C,260C 'check':267C 'complet':43B,102C 'compon':69C 'condit':164C 'configur':175C,183C 'continu':46B,135C 'control':128C 'could':41B,99C 'cve':12A,15A 'deploy':258C 'effect':146C 'endpoint':50B,139C 'error':118C,235C 'establish':107C,243C 'exchang':96C,230C,280C 'explicit':265C 'fail':5A,150C,246C 'fail-open':149C 'failur':105C,288C 'fell':124C 'fix':198C 'guard':4A,58B,89C,153C 'halt':278C 'host':28B 'immedi':262C 'improp':62C 'issu':71C,200C 'java':24B 'let':7A 'longer':249C 'lts':206C,218C 'need':180C 'next':61B,162C 'oauth':3A,23B,32B,68C,86C,178C,270C 'open':6A,151C 'ordinari':169C 'packag':25B 'part':191C,253C 'path':171C 'place':263C 'prior':185C 'processor':33B,87C,123C,226C,271C 'protect':49B,138C,252C 'rather':272C 'reach':10A,55B,157C,166C,250C 'releas':207C,219C 'reli':274C 'request':9A,38B,134C,170C 'requir':177C 'return':116C,127C 'rout':11A,45B,59B,91C,114C,131C,160C,174C,256C,285C 'self':27B 'self-host':26B 'session':110C,240C 'set':232C 'special':182C 'status':236C 'stop':36B,94C,228C,286C 'stream':208C,220C 'succeed':144C 'termin':113C 'though':141C 'unauthent':8A,52B,155C 'upgrad':192C,210C,222C,261C 'user':201C,213C 'verifi':282C 'vulner':64C 'whatev':56B,158C 'whenev':237C 'x':205C,217C","nicknames":[],"mitigations":[],"who_affected":"Applications using Apache Camel versions from 4.11.0 before 4.18.5 or from 4.19.0 before 4.22.1 that guard routes with the camel-oauth component. The exposure depends on what sits behind the guarded route, since the request proceeds to it when authentication fails. Teams not using camel-oauth can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T11:17:21+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","cvss_by":"security@apache.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-80312","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80312","severity":null,"published_at":"2026-10-19T11:17:21+00:00","modified_at":"2026-10-19T20:45:51+00:00","first_seen_at":"2026-10-23T21:57:17+00:00","fetched_at":"2026-10-23T22:28:57+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}