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

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-02)
- Published: 2026-10-21T12:17:42.903Z
- Modified: 2026-10-30T17:17:30.240Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## 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().

(As written by CVE List.)

## Affected

- apache/brpc: before 1.18.0

## References

- <https://github.com/apache/brpc/pulls/3525>
- <https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-86249](https://www.cve.org/CVERecord?id=CVE-2026-86249), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-86249](https://nvd.nist.gov/vuln/detail/CVE-2026-86249), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-86249 · Whole record: https://cve.day/CVE-2026-86249.json · Rebuilt by cve.day 2026-11-25T22:59:46.600Z
