Skip to content
Heist/ feed
Unrated

Apache bRPC: Authentication bypass when a server sets ServerOptions.internal_port and ServerOptions.auth

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2026-86249

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-86249

Apache bRPC

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache bRPC",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1.18.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:github/apache/brpc",
    "packageName": "apache/brpc",
    "collectionURL": "https://github.com",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-86249

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#45879 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement