Description
Interpretation conflict in the HTTP protocol implementation in Apache bRPC (version < 1.18.0) on all platforms allows remote attackers to bypass access control rules enforced by a front proxy.

Root Cause:
The method dispatch function FindMethodPropertyByURI() in bRPC's HTTP protocol splits the request path with a string splitter that skips empty fields, so paths containing empty path segments (consecutive slashes), such as //flags, /flags// and /flags//port, are dispatched to the same method as their collapsed form /flags. Per RFC 3986 these are distinct paths. A front proxy that enforces an ACL (e.g. blocking access to builtin services such as /flags) matches the collapsed form only, and therefore forwards the padded literal to the bRPC server, where it is dispatched as if it were the collapsed form. This differential allows //flags?setvalue= to reach a builtin service that /flags is not allowed to reach. Additionally, the HTTP/2 implementation never validated the :path pseudo-header, so requests without a :path, or with a :path that neither begins with '/' nor is the asterisk-form '*', contrary to RFC 9113 section 8.3.1, were not rejected.

Affected Scenarios:
Deployments of Apache bRPC behind a front proxy or gateway that performs access control (ACL) decisions on the literal request path, where the bRPC server accepts HTTP or HTTP/2 traffic from that proxy. In such deployments an attacker can send a path containing empty path segments to reach a resource that the front proxy intended to block.

How to Fix:
(Choose one of the following options)
1. Upgrade bRPC to version 1.18.0, which fixes this issue.
2. Apply this patch: https://github.com/apache/brpc/pull/3512

Note:
After applying the fix, HTTP and HTTP/2 request paths containing empty path segments (consecutive slashes) are rejected by default, and HTTP/2 :path values that are empty or neither begin with '/' nor equal '*' are rejected. Deployments that depend on the previous lenient behavior can restore it by turning on the gflag -http_allow_empty_path_segments, which is not recommended for servers exposed to untrusted traffic.
Published: 2026-10-21
Score: n/a
EPSS: n/a
KEV: No
Impact: Access Control Bypass allowing remote access to protected services
Action: Immediate Patch
AI Analysis

Impact

Apache bRPC implements request path parsing by collapsing consecutive slashes, treating paths like //flags as /flags. This divergence from RFC 3986 and RFC 9113 allows an attacker to send padded paths that bypass front‑proxy ACL rules intended to block services such as /flags. The flaw can also accept malformed HTTP/2 :path pseudo‑headers, which are normally rejected. As a result, a remote actor can reach resources that the proxy should have prevented access to, effectively gaining unauthorized access to internal services.

Affected Systems

All versions of Apache bRPC older than 1.18.0 on any platform are affected when the server is exposed to HTTP or HTTP/2 traffic and a front proxy enforces ACLs based on literal request paths. The vulnerability impacts deployments behind proxies or gateways that do not account for empty path segments in their ACL checks.

Risk and Exploitability

The vulnerability can be triggered remotely without local privileges. While the CVSS score is not provided and the EPSS score is unavailable, the issue is not yet listed in CISA's KEV catalog. Attackers are likely to exploit the weakness by crafting URLs with empty path segments or submitting malformed :path pseudo‑headers in HTTP/2, thereby bypassing ACL rules and accessing protected resources. The impact is substantial because it breaks the intended isolation provided by the front proxy.

Generated by OpenCVE AI on October 21, 2026 at 18:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache bRPC to version 1.18.0 or apply the official patch provided in pull request 3512
  • If upgrading is not immediately feasible, apply the patch locally and ensure the new code is deployed across all affected instances
  • Disable the gflag -http_allow_empty_path_segments on any servers exposed to untrusted traffic to re‑enable strict path validation

Generated by OpenCVE AI on October 21, 2026 at 18:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description Interpretation conflict in the HTTP protocol implementation in Apache bRPC (version < 1.18.0) on all platforms allows remote attackers to bypass access control rules enforced by a front proxy. Root Cause: The method dispatch function FindMethodPropertyByURI() in bRPC's HTTP protocol splits the request path with a string splitter that skips empty fields, so paths containing empty path segments (consecutive slashes), such as //flags, /flags// and /flags//port, are dispatched to the same method as their collapsed form /flags. Per RFC 3986 these are distinct paths. A front proxy that enforces an ACL (e.g. blocking access to builtin services such as /flags) matches the collapsed form only, and therefore forwards the padded literal to the bRPC server, where it is dispatched as if it were the collapsed form. This differential allows //flags?setvalue= to reach a builtin service that /flags is not allowed to reach. Additionally, the HTTP/2 implementation never validated the :path pseudo-header, so requests without a :path, or with a :path that neither begins with '/' nor is the asterisk-form '*', contrary to RFC 9113 section 8.3.1, were not rejected. Affected Scenarios: Deployments of Apache bRPC behind a front proxy or gateway that performs access control (ACL) decisions on the literal request path, where the bRPC server accepts HTTP or HTTP/2 traffic from that proxy. In such deployments an attacker can send a path containing empty path segments to reach a resource that the front proxy intended to block. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3512 Note: After applying the fix, HTTP and HTTP/2 request paths containing empty path segments (consecutive slashes) are rejected by default, and HTTP/2 :path values that are empty or neither begin with '/' nor equal '*' are rejected. Deployments that depend on the previous lenient behavior can restore it by turning on the gflag -http_allow_empty_path_segments, which is not recommended for servers exposed to untrusted traffic.
Title Apache bRPC: Access Control Bypass via HTTP Request Paths Containing Empty Path Segments
Weaknesses CWE-436
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-21T12:13:28.033Z

Reserved: 2026-09-02T08:58:24.479Z

Link: CVE-2026-84747

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-21T13:20:03.847

Modified: 2026-10-21T13:20:03.847

Link: CVE-2026-84747

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T18:45:07Z

Weaknesses