{"id":"CVE-2026-108946","kind":"vulnerability","aliases":["CVE-2026-108946"],"related":[],"title":"Apache ActiveMQ: authenticated clients can hijack other users' consumers and messages","description":"Improper input validation vulnerability in Apache ActiveMQ, Apache ActiveMQ KahaDB.\n\n\n\nThe ActiveMQ broker resolves connection, session and consumer state from ids that are user provided and in some scenarios does not validate that they ids are bound to that user. This allows an authenticated client to spoof another user's ids. This allows:\n\n\n\n\n\n  *   an authenticated client consumes from another connection's temporary queue/topic by putting the victim's connection id in its own ConsumerId, bypassing the broker-side ownership check. \n  *  a duplicate ConsumerId registration is only logged, after which the attacker's RemoveInfo or disconnect tears down the victim's live subscription\n  *  a forged MessageAck for the victim's ConsumerId permanently deletes an in-flight, unacknowledged message.\n\n\n\n\n\n\n\n\nThis issue affects Apache ActiveMQ: from 6.0.0 before 6.3.3, before 5.19.12; Apache ActiveMQ KahaDB: from 6.0.0 before 6.3.3, before 5.19.12.\n\n\n\nUsers are recommended to upgrade to version 6.4.0, 6.3.3, or 5.19.12, which fixes the issue.","summary":"Apache ActiveMQ does not always check that connection, session and consumer ids belong to the client using them. An authenticated client can consume from another connection's temporary queue, tear down a victim's subscription, or delete an unacknowledged message.","severity":"medium","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["activemq","apache-activemq","java","message-broker","runtime"],"not_affected_if":["patched-version","single-trusted-client","unauthenticated-only-access"],"how_to_check":"- Check the installed ActiveMQ version (`activemq --version` or the version in the broker's lib directory); versions from 6.0.0 before 6.3.3 and before 5.19.12 are affected.\n- Check whether the broker is reachable by clients you do not fully trust.","fix":"- Apache ActiveMQ 6.x: upgrade to `6.3.3` or later (`6.4.0` recommended)\n- Apache ActiveMQ 5.x: upgrade to `5.19.12`\n- Apache ActiveMQ KahaDB: same ranges as ActiveMQ, upgrade to `6.3.3`, `6.4.0`, or `5.19.12`","status":"open","published_at":"2026-11-04T11:17:13+00:00","first_seen_at":"2026-11-04T11:26:45+00:00","triaged_at":"2026-11-04T11:27:47+00:00","updated_at":"2026-11-04T11:27:47+00:00","category":"runtime","confidence":0.8,"triage":{"at":"2026-11-04T11:27:47Z","model":"claude-haiku-5-5","output":{"fix":"- Apache ActiveMQ 6.x: upgrade to `6.3.3` or later (`6.4.0` recommended)\n- Apache ActiveMQ 5.x: upgrade to `5.19.12`\n- Apache ActiveMQ KahaDB: same ranges as ActiveMQ, upgrade to `6.3.3`, `6.4.0`, or `5.19.12`","reach":"network","title":"Apache ActiveMQ: authenticated clients can hijack other users' consumers and messages","impact":"medium","summary":"Apache ActiveMQ does not always check that connection, session and consumer ids belong to the client using them. An authenticated client can consume from another connection's temporary queue, tear down a victim's subscription, or delete an unacknowledged message.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["activemq","apache-activemq","message-broker","java"],"confidence":0.8,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker hijacks other clients' subscriptions and deletes their in-flight messages","analyst_note":"","how_to_check":"- Check the installed ActiveMQ version (`activemq --version` or the version in the broker's lib directory); versions from 6.0.0 before 6.3.3 and before 5.19.12 are affected.\n- Check whether the broker is reachable by clients you do not fully trust.","plain_action":"","needs_analyst":false,"not_affected_if":["unauthenticated-only-access","single-trusted-client","patched-version"],"who_is_affected":"Any deployment of ActiveMQ or ActiveMQ KahaDB in the affected ranges where more than one client connects to the broker. An attacker needs valid broker credentials, so brokers limited to fully trusted clients carry less risk. Sources do not say whether default configurations are exposed.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000781,"input_tokens":4414,"output_tokens":679,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-108946':14A,17A '-2026':13A,16A '5.19.12':196C,205C,216C '6.0.0':192C,201C '6.3.3':194C,203C,214C '6.4.0':213C 'activemq':2A,18B,21B,28B,73C,75C,78C,190C,198C 'affect':188C 'allow':108C,119C 'alway':31B 'anoth':51B,114C,125C 'apach':1A,20B,27B,72C,74C,189C,197C 'apache-activemq':19B 'attack':158C 'authent':3A,46B,110C,121C 'belong':39B 'bound':103C 'broker':25B,79C,144C 'broker-sid':143C 'bypass':141C 'check':32B,147C 'client':4A,42B,47B,111C,122C 'connect':34B,52B,81C,126C,135C 'consum':9A,37B,49B,84C,123C 'consumerid':140C,150C,177C 'cve':12A,15A 'delet':63B,179C 'disconnect':162C 'duplic':149C 'fix':218C 'flight':183C 'forg':171C 'hijack':6A 'id':38B,87C,101C,117C,136C 'improp':67C 'in-flight':181C 'input':68C 'issu':187C,220C 'java':22B 'kahadb':76C,199C 'live':168C 'log':154C 'messag':11A,24B,66B,185C 'message-brok':23B 'messageack':172C 'ownership':146C 'perman':178C 'provid':91C 'put':131C 'queue':55B 'queue/topic':129C 'recommend':208C 'registr':151C 'removeinfo':160C 'resolv':80C 'runtim':26B 'scenario':95C 'session':35B,82C 'side':145C 'spoof':113C 'state':85C 'subscript':61B,169C 'tear':56B,163C 'temporari':54B,128C 'unacknowledg':65B,184C 'upgrad':210C 'use':43B 'user':8A,90C,106C,115C,206C 'valid':69C,98C 'version':212C 'victim':59B,133C,166C,175C 'vulner':70C","nicknames":[],"mitigations":[],"who_affected":"Any deployment of ActiveMQ or ActiveMQ KahaDB in the affected ranges where more than one client connects to the broker. An attacker needs valid broker credentials, so brokers limited to fully trusted clients carry less risk. Sources do not say whether default configurations are exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["activemq","apacheactivemq","java","medium","messagebroker","runtime"],"campaign_type":null,"first_public_at":"2026-11-04T11:17:13+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-108946","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108946","severity":null,"published_at":"2026-11-04T11:17:13+00:00","modified_at":"2026-11-04T11:17:13+00:00","first_seen_at":"2026-11-04T11:26:45+00:00","fetched_at":"2026-11-04T11:26:45+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"}