{"id":"CVE-2026-85257","kind":"vulnerability","aliases":["CVE-2026-85257"],"related":[],"title":"Apache Camel CXF: undeclared SOAP faults leak internal class names and stack traces","description":"Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel CXF 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 a route behind a CXF SOAP consumer failed with an exception the service contract does not declare, the exception was described back to the SOAP client in the fault: CXF copies the message into the SOAP faultstring, and can be configured to place the stack trace in the fault detail. An external caller able to provoke a failure could therefore read internal detail about the deployment - class and package names, and whatever the exception message carries. Declared faults, annotated @WebFault, are a different matter: those are part of the published contract that clients are written against, and suppressing them would break the service rather than protect anything.\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 an undeclared route failure with a generic fault carrying no class name, message or stack trace. Faults the contract declares are reported exactly as before. Set muteException=false to restore the previous output. For deployments that cannot upgrade immediately, declare the exceptions the service is allowed to report and map every other failure onto one of them in an onException handler, so no undeclared exception reaches the fault.","summary":"When a route behind an Apache Camel CXF SOAP consumer fails with an exception the service contract does not declare, the error is returned to the SOAP client in the fault, exposing class and package names and exception messages. An external caller who can trigger a failure can read internal details about the deployment.","severity":"medium","cvss":5.3,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-camel","camel-cxf","java","package","soap"],"not_affected_if":["declared-faults-only","no-cxf-soap-consumer"],"how_to_check":"- Check the Camel version in the project's dependencies: `camel-cxf` or `camel-cxf-soap` below `4.18.5` or in the range `4.19.0` to `4.22.0`.\n- Check whether CXF SOAP consumers set `muteException=false` or otherwise expose stack traces in fault detail.","fix":"- Upgrade Apache Camel to `4.23.0`, or to `4.18.5` on the 4.18.x LTS stream, or to `4.22.1` on the 4.22.x LTS stream.\n- Keep the default `muteException=true`; set `muteException=false` only if the previous output is required.\n- If upgrading is not possible yet, declare the allowed exceptions as SOAP faults and map all other failures onto them in an onException handler.","status":"open","published_at":"2026-10-19T11:17:23+00:00","first_seen_at":"2026-10-23T21:57:18+00:00","triaged_at":"2026-10-25T04:25:17+00:00","updated_at":"2026-10-25T04:25:17+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T04:25:17Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Apache Camel to `4.23.0`, or to `4.18.5` on the 4.18.x LTS stream, or to `4.22.1` on the 4.22.x LTS stream.\n- Keep the default `muteException=true`; set `muteException=false` only if the previous output is required.\n- If upgrading is not possible yet, declare the allowed exceptions as SOAP faults and map all other failures onto them in an onException handler.","reach":"network","title":"Apache Camel CXF: undeclared SOAP faults leak internal class names and stack traces","impact":"low","summary":"When a route behind an Apache Camel CXF SOAP consumer fails with an exception the service contract does not declare, the error is returned to the SOAP client in the fault, exposing class and package names and exception messages. An external caller who can trigger a failure can read internal details about the deployment.","category":"package","nicknames":[],"who_cares":["apache-camel","camel-cxf","soap","java"],"confidence":0.8,"needs_auth":"unknown","worst_case":"Internal class names, package names and exception messages leak to SOAP clients","analyst_note":"","how_to_check":"- Check the Camel version in the project's dependencies: `camel-cxf` or `camel-cxf-soap` below `4.18.5` or in the range `4.19.0` to `4.22.0`.\n- Check whether CXF SOAP consumers set `muteException=false` or otherwise expose stack traces in fault detail.","needs_analyst":false,"not_affected_if":["no-cxf-soap-consumer","declared-faults-only"],"who_is_affected":"Teams running Apache Camel 4.0.0 to before 4.18.5, or 4.19.0 to before 4.22.1, that expose a SOAP service through the CXF component. Exposure depends on routes that can fail with exceptions the WSDL does not declare, and on the consumer's fault settings. Teams without CXF SOAP consumers can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000727,"input_tokens":3709,"output_tokens":713,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':15A,18A '-85257':16A,19A '4.0.0':102C '4.18':229C '4.18.5':104C,237C '4.19.0':106C '4.22':241C '4.22.1':108C,249C '4.23.0':221C 'abl':163C 'affect':98C 'allow':303C 'annot':188C 'anyth':216C 'apach':1A,21B,34B,92C,99C,219C 'apache-camel':20B 'back':131C 'behind':32B,112C 'break':210C 'caller':70B,162C 'camel':2A,22B,24B,35B,93C,100C,220C 'camel-cxf':23B 'cannot':294C 'carri':185C,266C 'class':9A,61B,176C,268C 'client':56B,135C,202C 'compon':95C 'configur':150C 'consum':38B,116C,252C 'contain':87C 'contract':45B,123C,200C,276C 'copi':140C 'could':168C 'cve':14A,17A 'cxf':3A,25B,36B,94C,114C,139C 'declar':48B,126C,186C,277C,297C 'default':254C 'deploy':82B,175C,292C 'describ':130C 'detail':79B,159C,172C 'differ':192C 'error':50B,85C 'everi':308C 'exact':280C 'except':42B,66B,120C,128C,183C,299C,322C 'expos':60B 'extern':69B,161C 'fail':39B,117C 'failur':75B,167C,261C,310C 'fals':285C 'fault':6A,59B,138C,158C,187C,265C,274C,325C 'faultstr':146C 'fix':223C 'generat':83C 'generic':264C 'handler':318C 'immedi':296C 'inform':89C 'intern':8A,78B,171C 'issu':97C,225C 'java':26B 'leak':7A 'lts':231C,243C 'map':307C 'matter':193C 'messag':67B,86C,142C,184C,270C 'muteexcept':251C,284C 'name':10A,64B,179C,269C 'one':312C 'onexcept':317C 'onto':311C 'option':253C 'output':290C 'packag':27B,63B,178C 'part':196C 'place':152C 'previous':289C 'protect':215C 'provok':165C 'publish':199C 'rather':213C 'reach':323C 'read':77B,170C 'releas':232C,244C 'replac':257C 'report':279C,305C 'restor':287C 'return':52B 'rout':31B,111C,260C 'sensit':88C 'servic':44B,122C,212C,301C 'set':283C 'soap':5A,28B,37B,55B,115C,134C,145C 'stack':12A,154C,272C 'stream':233C,245C 'suppress':207C 'therefor':169C 'trace':13A,155C,273C 'trigger':73B 'true':256C 'undeclar':4A,259C,321C 'upgrad':217C,235C,247C,295C 'user':226C,238C 'vulner':90C 'webfault':189C 'whatev':181C 'would':209C 'written':204C 'x':230C,242C","nicknames":[],"mitigations":[],"who_affected":"Teams running Apache Camel 4.0.0 to before 4.18.5, or 4.19.0 to before 4.22.1, that expose a SOAP service through the CXF component. Exposure depends on routes that can fail with exceptions the WSDL does not declare, and on the consumer's fault settings. Teams without CXF SOAP consumers can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T11:17:23+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-85257","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85257","severity":null,"published_at":"2026-10-19T11:17:23+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"}