{"id":"CVE-2026-85245","kind":"vulnerability","aliases":["CVE-2026-85245"],"related":[],"title":"Apache Camel Thrift: shared instance leaks one message's data to others","description":"Exposure of Data Element to Wrong Session vulnerability in Apache Camel Thrift component.\n\n\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.\n\nThe Thrift data format unmarshalled incoming data into the shared defaultInstance of the target type rather than into a fresh copy, and returned that shared object as the exchange body. Because the instance is shared process-wide, state written while unmarshalling one message stayed on the object and was visible to every later message that used the same type. Fields absent from a later payload retained the previous message's values, so content belonging to one sender could be read while processing another sender's message, and concurrent exchanges could observe each other's partially written state. In a deployment that serves more than one tenant or user through the same route, that is disclosure of one party's data to another.\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. Unmarshalling now deserializes into a copy, so each exchange gets its own instance and no state carries between messages. For deployments that cannot upgrade immediately, copy the unmarshalled body into a new instance immediately after the data format runs, and do not retain references to the returned object.","summary":"The Thrift data format in Apache Camel unmarshals every message into one shared process-wide object instead of a fresh copy. Fields left out of a later payload keep the previous message's values, so one sender's data can be read while another sender's message is processed.","severity":"medium","cvss":5.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-camel","java","multi-tenant","package","thrift"],"not_affected_if":["no-thrift-data-format","single-tenant"],"how_to_check":"- Check the Apache Camel version in the project build file (for example `camel-bom` or `camel-thrift` version); affected are `4.0.0` before `4.18.5` and `4.19.0` before `4.22.1`\n- Look for routes that use the Thrift data format (`unmarshal().thrift(...)`) and serve more than one tenant or user through the same route","fix":"- Upgrade Apache Camel to `4.23.0`; on the LTS streams move to `4.18.5` (4.18.x) or `4.22.1` (4.22.x)\n- If an upgrade is not possible yet, copy the unmarshalled body into a new instance right after the Thrift data format runs and do not keep references to the returned object","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:08:48+00:00","updated_at":"2026-10-25T04:08:48+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T04:08:48Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Apache Camel to `4.23.0`; on the LTS streams move to `4.18.5` (4.18.x) or `4.22.1` (4.22.x)\n- If an upgrade is not possible yet, copy the unmarshalled body into a new instance right after the Thrift data format runs and do not keep references to the returned object","reach":"unknown","title":"Apache Camel Thrift: shared instance leaks one message's data to others","impact":"medium","summary":"The Thrift data format in Apache Camel unmarshals every message into one shared process-wide object instead of a fresh copy. Fields left out of a later payload keep the previous message's values, so one sender's data can be read while another sender's message is processed.","category":"package","nicknames":[],"who_cares":["java","apache-camel","thrift","multi-tenant"],"confidence":0.7,"needs_auth":"unknown","worst_case":"one party's data is disclosed to another party's message processing","analyst_note":"","how_to_check":"- Check the Apache Camel version in the project build file (for example `camel-bom` or `camel-thrift` version); affected are `4.0.0` before `4.18.5` and `4.19.0` before `4.22.1`\n- Look for routes that use the Thrift data format (`unmarshal().thrift(...)`) and serve more than one tenant or user through the same route","needs_analyst":false,"not_affected_if":["single-tenant","no-thrift-data-format"],"who_is_affected":"Deployments that use the Camel Thrift data format on a route that carries data for more than one tenant or user through the same process. A single-tenant service where only one party's messages reach the route is much less exposed. Teams that do not use the Thrift component can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.000679,"input_tokens":3666,"output_tokens":625,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':14A,17A '-85245':15A,18A '4.0.0':97C '4.18':239C '4.18.5':99C,247C '4.19.0':101C '4.22':251C '4.22.1':103C,259C '4.23.0':231C 'absent':165C 'affect':93C 'anoth':72B,187C,226C 'apach':1A,20B,33B,87C,94C,229C 'apache-camel':19B 'belong':178C 'bodi':133C,288C 'camel':2A,21B,34B,88C,95C,230C 'cannot':282C 'carri':276C 'compon':90C 'concurr':192C 'content':177C 'copi':49B,124C,265C,285C 'could':182C,194C 'cve':13A,16A 'data':10A,30B,67B,80C,106C,110C,224C,296C 'defaultinst':114C 'deploy':204C,280C 'deseri':262C 'disclosur':219C 'element':81C 'everi':36B,156C 'exchang':132C,193C,268C 'exposur':78C 'field':50B,164C 'fix':233C 'format':31B,107C,297C 'fresh':48B,123C 'get':269C 'immedi':284C,293C 'incom':109C 'instanc':5A,136C,272C,292C 'instead':45B 'issu':92C,235C 'java':22B 'keep':57B 'later':55B,157C,168C 'leak':6A 'left':51B 'lts':241C,253C 'messag':8A,37B,60B,75B,147C,158C,173C,190C,278C 'multi':24B 'multi-ten':23B 'new':291C 'object':44B,129C,151C,307C 'observ':195C 'one':7A,39B,64B,146C,180C,209C,221C 'other':12A 'packag':26B 'parti':222C 'partial':199C 'payload':56B,169C 'previous':59B,172C 'process':42B,77B,140C,186C 'process-wid':41B,139C 'rather':119C 'read':70B,184C 'refer':303C 'releas':242C,254C 'retain':170C,302C 'return':126C,306C 'rout':216C 'run':298C 'sender':65B,73B,181C,188C 'serv':206C 'session':84C 'share':4A,40B,113C,128C,138C 'state':142C,201C,275C 'stay':148C 'stream':243C,255C 'target':117C 'tenant':25B,210C 'thrift':3A,27B,29B,89C,105C 'type':118C,163C 'unmarsh':35B 'unmarshal':108C,145C,260C,287C 'upgrad':227C,245C,257C,283C 'use':160C 'user':212C,236C,248C 'valu':62B,175C 'visibl':154C 'vulner':85C 'wide':43B,141C 'written':143C,200C 'wrong':83C 'x':240C,252C","nicknames":[],"mitigations":[],"who_affected":"Deployments that use the Camel Thrift data format on a route that carries data for more than one tenant or user through the same process. A single-tenant service where only one party's messages reach the route is much less exposed. Teams that do not use the Thrift component 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:H/PR:N/UI:N/S:U/C:H/I:N/A:N","cvss_by":"security@apache.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-85245","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85245","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"}