All CVEs / Apache Software Foundation
CVE-2026-86249Apache Software Foundation Apache bRPC
Authentication bypass in Apache bRPC via internal port
Critical 9.1 No auth needed
Follow: this CVE · Apache Software Foundation · Apache Software Foundation Apache bRPC We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 21, 2026
- Updated
- Oct 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Apache bRPC allows a remote attacker to bypass authentication when the server configures both ServerOptions.auth and ServerOptions.internal_port. Credential verification runs only on the first message of a connection, allowing subsequent requests to authenticated services to execute without validation. An attacker can send a request to a built-in service on the internal port to authenticate the connection, then access ordinary services without valid credentials.
Show the original NVD text
On a brpc::Server that sets both ServerOptions.auth and ServerOptions.internal_port, the HTTP built-in service exemption on internal_port can be abused to bypass authentication entirely. VerifyHttpRequest() returns true without checking any credential when a built-in service is requested on internal_port, 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 internal_port 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.internal_port together with an Authenticator. The fix restricts internal_port so that it carries only built-in and Tabbed services; requests for ordinary services sent to internal_port 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 internal_port must move those requests to the port passed to Server::Start().
What to do
Patch available · fixed versions: 1.18.0
Upgrade Apache bRPC to version 1.18.0 or later. If unable to upgrade, apply the patch from PR #3525 and avoid serving ordinary services on internal_port.
- Apply the vendor's security update for Apache bRPC.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Apache Software Foundation · Apache bRPC
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.