CVE-2026-86249: Apache brpc Server - Authentication Bypass
- Cve: CVE-2026-86249
- Name: Apache brpc Server - Authentication Bypass
- Description: 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().
- Impact: Remote attackers can bypass authentication to access authenticated services, potentially compromising sensitive data or functionality.
- Remediation: Upgrade to version 1.18.0 or apply the patch from https://github.com/apache/brpc/pull/3525.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00561
- Epss percentile: 0.47598
- Assignee: [email protected]
- Published at: 2026-10-21T13:20:04Z
- Age in days: 34
- Modified at: 2026-10-30T17:17:30Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-86249
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/apache/brpc/pulls/3525 | nvd | |
| https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:brpc | < 1.18.0 | no | cna_alias | /v1/products/apache/brpc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts