{"id":"CVE-2026-86249","summary":"Apache bRPC: Authentication bypass when a server sets ServerOptions.internal_port and ServerOptions.auth","details":"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. \n\n\n\nMitigation / Fix: upgrade to 1.18.0 or apply PR https://github.com/apache/brpc/pull/3525 . \n\n\n\nUsers who rely on serving normal services on internal_port must move those requests to the port passed to Server::Start().","modified":"2026-10-22T02:49:10.350000201Z","published":"2026-10-21T12:17:42.903Z","database_specific":{"cwe_ids":["CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86249.json","cna_assigner":"apache"},"references":[{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86249.json"},{"type":"WEB","url":"https://github.com/apache/brpc/pulls/3525"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86249"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/brpc","events":[{"introduced":"0"},{"fixed":"94f1bbd32845a45f0218dfe43e25791252bdcb72"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.18.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["1.13.0","1.0.0","1.0.0-rc02","1.0.0-rc01","0.9.8-rc01","0.9.7-rc02","0.9.7-rc03","0.9.7","0.9.7-rc01","0.9.6-rc03","0.9.6-rc02","0.9.6-rc01","0.9.6","0.9.5","v0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86249.json"}}],"schema_version":"1.9.0"}