{"id":"CVE-2026-78334","kind":"vulnerability","aliases":["CVE-2026-78334"],"related":[],"title":"Apache bRPC: streaming RPC skips authentication, letting unauthenticated peers inject frames","description":"Missing authentication in the streaming RPC path of Apache bRPC (version < 1.18.0) on all platforms allows a remote attacker to bypass server authentication and inject or deliver streaming frames, when a server is configured with an Authenticator.\n\nRoot Cause:\nWhen authentication is configured, streaming RPC frames are consumed directly by the streaming parser (ParseStreamingMessage) and never pass through InputMessenger's authentication hook, so an unauthenticated peer can exchange frames without being authenticated. In addition, a server-accepted stream is bound lazily to the first frame that happens to carry its id, so a stream could accept a frame carrying its id from a socket other than the socket that created the stream.\n\nAffected Scenarios:\nA bRPC server configured with authentication that serves streaming RPC from an untrusted network, or a deployment where a foreign connection can impersonate a stream by id, can be made to accept unauthorized streaming frames.\n\nHow to Fix:\nUpgrade bRPC to 1.18.0, which fixes this issue, or apply the patch in PR https://github.com/apache/brpc/pull/3481. \n\nNote:\nThe fix rejects streaming frames on server sockets when configured authentication has not completed, and keeps server-accepted streams bound to the socket of their creating RPC and rejects frames arriving from another socket. Authenticated streaming RPC behavior and the wire format are unchanged; only unauthenticated or foreign-socket frames are now rejected.","summary":"Apache bRPC before 1.18.0 does not run the authentication check on streaming RPC frames, so a remote peer can send streaming frames to a server that is configured with an Authenticator without logging in. A stream can also accept frames from a socket other than the one that created it when the frame carries the stream's id.","severity":"unknown","cvss":null,"epss":0.00261,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["apache-brpc","c++","package","self-hosted"],"not_affected_if":["no-authenticator-configured","no-streaming-rpc"],"how_to_check":"- Check the bRPC version in use, for example with `grep -rn \"BRPC_VERSION\\|brpc\" CMakeLists.txt` or the package manager lock file; versions below `1.18.0` are affected.\n- Check whether the server sets `ServerOptions.auth` to an Authenticator and serves streaming RPC (`brpc::StreamCreate` or `StreamAccept`).","fix":"- Upgrade bRPC to `1.18.0`.\n- If an upgrade is not possible, apply the patch from https://github.com/apache/brpc/pull/3481.","status":"open","published_at":"2026-10-21T12:17:23+00:00","first_seen_at":"2026-10-23T21:57:28+00:00","triaged_at":"2026-10-25T05:02:35+00:00","updated_at":"2026-10-25T05:02:35+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-25T05:02:35Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade bRPC to `1.18.0`.\n- If an upgrade is not possible, apply the patch from https://github.com/apache/brpc/pull/3481.","reach":"network","title":"Apache bRPC: streaming RPC skips authentication, letting unauthenticated peers inject frames","impact":"medium","summary":"Apache bRPC before 1.18.0 does not run the authentication check on streaming RPC frames, so a remote peer can send streaming frames to a server that is configured with an Authenticator without logging in. A stream can also accept frames from a socket other than the one that created it when the frame carries the stream's id.","category":"package","nicknames":[],"who_cares":["apache-brpc","c++","self-hosted"],"confidence":0.7,"needs_auth":"no","worst_case":"unauthenticated peer injects or receives streaming frames on protected server","analyst_note":"Confirm the affected version range and whether a CVE record or the advisory names a fixed version beyond 1.18.0, via https://nvd.nist.gov/vuln/detail/CVE-2026-78334 and https://github.com/apache/brpc/pull/3481.","how_to_check":"- Check the bRPC version in use, for example with `grep -rn \"BRPC_VERSION\\|brpc\" CMakeLists.txt` or the package manager lock file; versions below `1.18.0` are affected.\n- Check whether the server sets `ServerOptions.auth` to an Authenticator and serves streaming RPC (`brpc::StreamCreate` or `StreamAccept`).","needs_analyst":true,"not_affected_if":["no-authenticator-configured","no-streaming-rpc"],"who_is_affected":"Servers built on Apache bRPC that configure an Authenticator and serve streaming RPC are exposed, most of all when they accept traffic from untrusted networks. Deployments without an Authenticator, or without streaming RPC, are not described as affected by the sources.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.00073,"input_tokens":3748,"output_tokens":711,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2026':13A,16A '-78334':14A,17A '/apache/brpc/pull/3481.':253C '1.18.0':29B,95C,240C 'accept':64B,161C,180C,230C,273C 'addit':157C 'affect':197C 'allow':99C 'also':63B 'anoth':288C 'apach':1A,19B,26B,92C 'apache-brpc':18B 'appli':246C 'arriv':286C 'attack':102C 'authent':6A,34B,56B,85C,106C,120C,124C,144C,155C,204C,265C,290C 'behavior':293C 'bound':164C,275C 'brpc':2A,20B,27B,93C,200C,238C 'bypass':104C 'c':21B 'carri':79B,173C,183C 'caus':122C 'check':35B 'complet':268C 'configur':53B,117C,126C,202C,264C 'connect':219C 'consum':131C 'could':179C 'creat':74B,194C,281C 'cve':12A,15A 'deliv':110C 'deploy':215C 'direct':132C 'exchang':151C 'first':168C 'fix':236C,242C,256C 'foreign':218C,304C 'foreign-socket':303C 'format':297C 'frame':11A,39B,47B,65B,78B,112C,129C,152C,169C,182C,233C,259C,285C,306C 'github.com':252C 'github.com/apache/brpc/pull/3481.':251C 'happen':171C 'hook':145C 'host':25B 'id':83B,175C,185C,225C 'imperson':221C 'inject':10A,108C 'inputmesseng':142C 'issu':244C 'keep':270C 'lazili':165C 'let':7A 'log':58B 'made':228C 'miss':84C 'network':212C 'never':139C 'note':254C 'one':72B 'packag':22B 'parser':136C 'parsestreamingmessag':137C 'pass':140C 'patch':248C 'path':90C 'peer':9A,43B,149C 'platform':98C 'pr':250C 'reject':257C,284C,309C 'remot':42B,101C 'root':121C 'rpc':4A,38B,89C,128C,208C,282C,292C 'run':32B 'scenario':198C 'self':24B 'self-host':23B 'send':45B 'serv':206C 'server':50B,105C,115C,160C,201C,261C,272C 'server-accept':159C,271C 'skip':5A 'socket':68B,188C,192C,262C,278C,289C,305C 'stream':3A,37B,46B,61B,81B,88C,111C,127C,135C,162C,178C,196C,207C,223C,232C,258C,274C,291C 'unauthent':8A,148C,301C 'unauthor':231C 'unchang':299C 'untrust':211C 'upgrad':237C 'version':94C 'wire':296C 'without':57B,153C","nicknames":[],"mitigations":[],"who_affected":"Servers built on Apache bRPC that configure an Authenticator and serve streaming RPC are exposed, most of all when they accept traffic from untrusted networks. Deployments without an Authenticator, or without streaming RPC, are not described as affected by the sources.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-21T12:17:23+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-78334","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78334","severity":null,"published_at":"2026-10-21T12:17:23+00:00","modified_at":"2026-10-22T16:56:37+00:00","first_seen_at":"2026-10-23T21:57:28+00:00","fetched_at":"2026-10-23T22:29:01+00:00","note":null},{"source":"epss","external_id":"CVE-2026-78334","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-78334","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T13:15:54+00:00","fetched_at":"2026-10-24T13:15:54+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"}