{"id":"CVE-2026-85246","kind":"vulnerability","aliases":["CVE-2026-85246"],"related":[],"title":"Apache Camel MINA: failed exchanges leak exception details to remote peers","description":"Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Mina component.\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\nWhen processing of an exchange failed, the Mina consumer wrote exchange.getException() straight back over the socket to the remote peer. Over a textline codec that hands the peer the exception's class name and message; over the object codec it hands over the serialised exception, cause chain included. A remote peer able to provoke a failure could therefore read internal detail about the deployment - class and package names, and whatever a message or nested cause happens to carry, which in practice can include paths, host names and connection detail. The consumer had no option to suppress this, unlike the HTTP-family consumers aligned by CAMEL-23651.\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. A muteException consumer option, defaulting to true, replaces the route exception with a generic one carrying no class name, message or stack trace, while still writing a reply so that a synchronous peer is not left to time out. Set muteException=false to restore the previous behaviour. For deployments that cannot upgrade immediately, add an onException handler that sets the reply body explicitly, so the framework never writes the exception back to the peer.","summary":"When an Apache Camel MINA consumer fails to process an exchange, it writes the exception back over the socket to the remote peer. The peer can read the exception class name, message, or serialised exception with its cause chain, which can expose paths, host names and connection details.","severity":"medium","cvss":5.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-camel","java","mina","package","self-hosted"],"not_affected_if":["no-mina-consumer","patched-version"],"how_to_check":"- Search route definitions and dependency lists for `camel-mina` and note the Apache Camel version, e.g. with `mvn dependency:tree | grep camel-mina` or by checking the `camel-mina` version in build files.\n- Look for MINA consumers (`mina:tcp://...` or `mina2:` endpoints) that accept connections from untrusted peers.","fix":"- Upgrade Apache Camel to `4.23.0`.\n- If on the 4.18.x LTS stream, upgrade to `4.18.5`; if on the 4.22.x LTS stream, upgrade to `4.22.1`.\n- Until upgraded, add an onException handler that sets the reply body explicitly so the framework never writes the exception back to the peer.","status":"open","published_at":"2026-10-19T11:17:22+00:00","first_seen_at":"2026-10-23T21:57:18+00:00","triaged_at":"2026-10-25T04:25:18+00:00","updated_at":"2026-10-25T04:25:18+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T04:25:18Z","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`; if on the 4.22.x LTS stream, upgrade to `4.22.1`.\n- Until upgraded, add an onException handler that sets the reply body explicitly so the framework never writes the exception back to the peer.","reach":"network","title":"Apache Camel MINA: failed exchanges leak exception details to remote peers","impact":"low","summary":"When an Apache Camel MINA consumer fails to process an exchange, it writes the exception back over the socket to the remote peer. The peer can read the exception class name, message, or serialised exception with its cause chain, which can expose paths, host names and connection details.","category":"package","nicknames":[],"who_cares":["java","apache-camel","mina","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"Remote peer reads internal class names, messages and paths","analyst_note":"","how_to_check":"- Search route definitions and dependency lists for `camel-mina` and note the Apache Camel version, e.g. with `mvn dependency:tree | grep camel-mina` or by checking the `camel-mina` version in build files.\n- Look for MINA consumers (`mina:tcp://...` or `mina2:` endpoints) that accept connections from untrusted peers.","needs_analyst":false,"not_affected_if":["no-mina-consumer","patched-version"],"who_is_affected":"Applications running Apache Camel from 4.0.0 before 4.18.5, or from 4.19.0 before 4.22.1, that expose a MINA consumer to peers who can trigger processing failures. The exposure comes from the MINA consumer returning exception output over the socket, so deployments without MINA consumers are not affected. Teams on 4.18.5, 4.22.1, 4.23.0 or later can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000717,"input_tokens":3708,"output_tokens":692,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':13A,16A '-23651':207C '-85246':14A,17A '4.0.0':94C '4.18':220C '4.18.5':96C,228C '4.19.0':98C '4.22':232C '4.22.1':100C,240C '4.23.0':212C 'abl':152C 'add':294C 'affect':90C 'align':204C 'apach':1A,19B,29B,84C,91C,210C 'apache-camel':18B 'back':42B,113C,311C 'behaviour':287C 'bodi':302C 'camel':2A,20B,30B,85C,92C,206C,211C 'cannot':291C 'carri':178C,256C 'caus':64B,146C,175C 'chain':65B,147C 'class':56B,132C,165C,258C 'codec':124C,139C 'compon':87C 'connect':73B,188C 'consum':32B,109C,191C,203C,243C 'contain':79C 'could':157C 'cve':12A,15A 'default':245C 'deploy':164C,289C 'detail':8A,74B,161C,189C 'error':77C 'except':7A,41B,55B,61B,130C,145C,251C,310C 'exchang':5A,37B,105C 'exchange.getexception':111C 'explicit':303C 'expos':68B 'fail':4A,33B,106C 'failur':156C 'fals':282C 'famili':202C 'fix':214C 'framework':306C 'generat':75C 'generic':254C 'hand':126C,141C 'handler':297C 'happen':176C 'host':26B,70B,185C 'http':201C 'http-famili':200C 'immedi':293C 'includ':148C,183C 'inform':81C 'intern':160C 'issu':89C,216C 'java':21B 'leak':6A 'left':276C 'lts':222C,234C 'messag':58B,78C,135C,172C,260C 'mina':3A,22B,31B,86C,108C 'muteexcept':242C,281C 'name':57B,71B,133C,168C,186C,259C 'nest':174C 'never':307C 'object':138C 'one':255C 'onexcept':296C 'option':194C,244C 'packag':23B,167C 'path':69B,184C 'peer':11A,49B,51B,120C,128C,151C,273C,314C 'practic':181C 'previous':286C 'process':35B,102C 'provok':154C 'read':53B,159C 'releas':223C,235C 'remot':10A,48B,119C,150C 'replac':248C 'repli':268C,301C 'restor':284C 'rout':250C 'self':25B 'self-host':24B 'sensit':80C 'serialis':60B,144C 'set':280C,299C 'socket':45B,116C 'stack':262C 'still':265C 'straight':112C 'stream':224C,236C 'suppress':196C 'synchron':272C 'textlin':123C 'therefor':158C 'time':278C 'trace':263C 'true':247C 'unlik':198C 'upgrad':208C,226C,238C,292C 'user':217C,229C 'vulner':82C 'whatev':170C 'write':39B,266C,308C 'wrote':110C 'x':221C,233C","nicknames":[],"mitigations":[],"who_affected":"Applications running Apache Camel from 4.0.0 before 4.18.5, or from 4.19.0 before 4.22.1, that expose a MINA consumer to peers who can trigger processing failures. The exposure comes from the MINA consumer returning exception output over the socket, so deployments without MINA consumers are not affected. Teams on 4.18.5, 4.22.1, 4.23.0 or later can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T11:17:22+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","cvss_by":"security@apache.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-85246","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85246","severity":null,"published_at":"2026-10-19T11:17:22+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"}