CVE-2026-78334: Apache bRPC: Missing Authentication for Streaming RPC Frames

Published Oct 21, 2026
·
Updated

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.

Root Cause: When 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.

Affected Scenarios: A 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.

How to Fix: Upgrade bRPC to 1.18.0, which fixes this issue, or apply the patch in PR https://github.com/apache/brpc/pull/3481.

Note: The 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.

Affected Software

1 affected component
Apache bRPC<1.18.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache bRPC to a version that resolves this vulnerability.

    Fixed in 1.18.0

Event History

Oct 21, 2026
CVE Published
via MITRE·11:54 AM
Data Sourced
via MITRE·11:54 AM
DescriptionWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Servers running bRPC versions earlier than 1.18.0 are exposed when they have an Authenticator configured and serve streaming RPC to an untrusted network. Deployments may also be exposed if a foreign connection can impersonate an existing stream by its ID.

2

What must an attacker be able to do?

An attacker needs remote access to send streaming RPC frames to the server. They can exchange unauthenticated streaming frames because those frames bypass the normal authentication hook, and may be able to send frames for a stream from a different socket than the one that created it.

3

What can be done before a full upgrade is possible?

Apply the patch from Apache bRPC PR 3481. Otherwise, limit untrusted network access to streaming RPC endpoints and prevent foreign connections from being able to send frames for existing stream IDs.

4

How can I determine whether my deployment is affected?

Check whether the deployed bRPC version is earlier than 1.18.0, whether an Authenticator is configured, and whether the server accepts streaming RPC from untrusted networks. Also assess whether another connection could reach the server and submit frames using a stream ID created on a different socket.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203