{"id":"CVE-2026-85312","kind":"vulnerability","aliases":["CVE-2026-85312"],"related":[],"title":"Apache Camel: untrusted header lets senders join another saga","description":"Improper Input Validation vulnerability in Apache Camel Core component.\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\nThe saga processor consulted a header named Long-Running-Action to decide which saga an exchange belonged to. The name carries no Camel prefix, so it sits outside the namespace that consumer header filters block, and an external sender could supply it on an inbound message. That let the sender name the saga the exchange joined, attaching their request to a long-running action started by someone else, or causing compensation to be associated with an action they did not initiate. The header is only consulted by a saga service that uses it, which bounds the exposure to deployments running sagas over an LRA coordinator.\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 header is now consulted only for a saga service that actually uses it, rather than on every exchange. For deployments that cannot upgrade immediately, strip the header at the trust boundary with removeHeaders(\"Long-Running-Action\") on every consumer that accepts messages from an untrusted sender.","summary":"Apache Camel's saga processor trusted a header named Long-Running-Action that external senders can set on inbound messages. An attacker can attach their request to a long-running action started by someone else, or trigger compensation for an action they did not start.","severity":"medium","cvss":4.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-camel","integration","java","lra","package","saga"],"not_affected_if":["no-saga-usage","trusted-senders-only","version-patched"],"how_to_check":"- Check the Camel version with `mvn dependency:tree | grep camel-core` or the equivalent in your build tool, and see whether it is below `4.18.5` on the 4.18 line or below `4.22.1` on the 4.22 line\n- Search your routes for saga or LRA usage (for example `saga(` or `LRA`) to see whether a saga service consults the header at all","fix":"- Upgrade Apache Camel to `4.23.0`\n- On the 4.18.x LTS stream, upgrade to `4.18.5`\n- On the 4.22.x LTS stream, upgrade to `4.22.1`\n- Until you can upgrade, call `removeHeaders(\"Long-Running-Action\")` on every consumer that accepts messages from an untrusted sender","status":"open","published_at":"2026-10-19T11:17:24+00:00","first_seen_at":"2026-10-23T21:57:18+00:00","triaged_at":"2026-10-25T04:33:33+00:00","updated_at":"2026-10-25T04:33:33+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T04:33:33Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Apache Camel to `4.23.0`\n- On the 4.18.x LTS stream, upgrade to `4.18.5`\n- On the 4.22.x LTS stream, upgrade to `4.22.1`\n- Until you can upgrade, call `removeHeaders(\"Long-Running-Action\")` on every consumer that accepts messages from an untrusted sender","reach":"network","title":"Apache Camel: untrusted header lets senders join another saga","impact":"medium","summary":"Apache Camel's saga processor trusted a header named Long-Running-Action that external senders can set on inbound messages. An attacker can attach their request to a long-running action started by someone else, or trigger compensation for an action they did not start.","category":"package","nicknames":[],"who_cares":["apache-camel","java","saga","lra","integration"],"confidence":0.7,"needs_auth":"unknown","worst_case":"external sender joins or compensates another party's long-running saga","analyst_note":"","how_to_check":"- Check the Camel version with `mvn dependency:tree | grep camel-core` or the equivalent in your build tool, and see whether it is below `4.18.5` on the 4.18 line or below `4.22.1` on the 4.22 line\n- Search your routes for saga or LRA usage (for example `saga(` or `LRA`) to see whether a saga service consults the header at all","needs_analyst":false,"not_affected_if":["no-saga-usage","trusted-senders-only","version-patched"],"who_is_affected":"Only deployments of Apache Camel 4.0.0 up to but not including 4.18.5, or 4.19.0 up to but not including 4.22.1, that run sagas over an LRA coordinator. The header is read only by a saga service that uses it, so routes without saga or LRA usage are not exposed. Teams that accept inbound messages from untrusted senders are the ones to prioritise.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000709,"input_tokens":3631,"output_tokens":691,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':11A,14A '-85312':12A,15A '4.0.0':86C '4.18':212C '4.18.5':88C,220C '4.19.0':90C '4.22':224C '4.22.1':92C,232C '4.23.0':204C 'accept':275C 'action':36B,56B,66B,103C,158C,171C,270C 'actual':244C 'affect':82C 'anoth':8A 'apach':1A,17B,24B,76C,83C,202C 'apache-camel':16B 'associ':168C 'attach':48B,150C 'attack':46B 'belong':110C 'block':128C 'bound':189C 'boundari':264C 'camel':2A,18B,25B,77C,84C,116C,203C 'cannot':255C 'carri':114C 'caus':164C 'compens':63B,165C 'compon':79C 'consult':96C,180C,237C 'consum':125C,273C 'coordin':199C 'core':78C 'could':133C 'cve':10A,13A 'decid':105C 'deploy':193C,253C 'els':60B,162C 'everi':250C,272C 'exchang':109C,148C,251C 'exposur':191C 'extern':38B,131C 'filter':127C 'fix':206C 'header':4A,31B,98C,126C,177C,234C,260C 'immedi':257C 'improp':71C 'inbound':43B,138C 'initi':175C 'input':72C 'integr':19B 'issu':81C,208C 'java':20B 'join':7A,149C 'let':5A,141C 'long':34B,54B,101C,156C,268C 'long-run':53B,155C 'long-running-act':33B,100C,267C 'lra':21B,198C 'lts':214C,226C 'messag':44B,139C,276C 'name':32B,99C,113C,144C 'namespac':123C 'outsid':121C 'packag':22B 'prefix':117C 'processor':28B,95C 'rather':247C 'releas':215C,227C 'removehead':266C 'request':50B,152C 'run':35B,55B,102C,157C,194C,269C 'saga':9A,23B,27B,94C,107C,146C,183C,195C,241C 'sender':6A,39B,132C,143C,280C 'servic':184C,242C 'set':41B 'sit':120C 'someon':59B,161C 'start':57B,70B,159C 'stream':216C,228C 'strip':258C 'suppli':134C 'trigger':62B 'trust':29B,263C 'untrust':3A,279C 'upgrad':200C,218C,230C,256C 'use':186C,245C 'user':209C,221C 'valid':73C 'vulner':74C 'x':213C,225C","nicknames":[],"mitigations":[],"who_affected":"Only deployments of Apache Camel 4.0.0 up to but not including 4.18.5, or 4.19.0 up to but not including 4.22.1, that run sagas over an LRA coordinator. The header is read only by a saga service that uses it, so routes without saga or LRA usage are not exposed. Teams that accept inbound messages from untrusted senders are the ones to prioritise.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T11:17:24+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","cvss_by":"security@apache.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-85312","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85312","severity":null,"published_at":"2026-10-19T11:17:24+00:00","modified_at":"2026-10-19T20:45:51+00:00","first_seen_at":"2026-10-23T21:57:18+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"}