CVE-2026-86249: Apache bRPC: Authentication bypass when a server sets ServerOptions.internal_port and ServerOptions.auth

Published Oct 21, 2026
·
Updated

On a brpc::Server that sets both ServerOptions.auth and ServerOptions.internalport, the HTTP built-in service exemption on internalport can be abused to bypass authentication entirely. VerifyHttpRequest() returns true without checking any credential when a built-in service is requested on internalport, and this verdict is not per - request: verification runs only for the first message of a connection and the result latches the connection. Sending a request such as GET /status to internalport first authenticates the whole connection, after which every subsequent request dispatched on the same connection is handled without ever calling VerifyHttpRequest(). This lets a remote attacker reach ordinary (non-built-in, non-tabbed) authenticated services without supplying valid credentials whenever the server uses ServerOptions.internalport together with an Authenticator. The fix restricts internalport so that it carries only built-in and Tabbed services; requests for ordinary services sent to internalport are rejected with EPREM / HTTP 403.

Mitigation / Fix: upgrade to 1.18.0 or apply PR https://github.com/apache/brpc/pull/3525 .

Users who rely on serving normal services on internalport must move those requests to the port passed to Server::Start().

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
  2. Configuration

    Move requests for normal services from internal_port to the port passed to Server::Start(); internal_port is restricted to built-in and Tabbed services.

    Apache bRPC Server ServerOptions.internal_port

Event History

Oct 21, 2026
CVE Published
via MITRE·12:17 PM
Data Sourced
via MITRE·12:17 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this bypass?

A remotely reachable brpc::Server is affected when it configures both ServerOptions.auth and ServerOptions.internal_port, and ordinary authenticated services are available through that server. The issue relies on normal services being dispatched on internal_port.

2

What does an attacker need to do to bypass authentication?

The attacker must open a connection to internal_port and first request a built-in HTTP service, such as GET /status. That initial request is exempt from credential verification, and the successful result is then retained for subsequent requests on the same connection.

3

What should be done if upgrading is not immediately possible?

Apply the referenced PR if possible. Otherwise, avoid serving ordinary services on internal_port; the described fix enforces this by allowing only built-in and Tabbed services there and rejecting ordinary-service requests with EPERM or HTTP 403.

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