Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-86146 Overview
CVE-2026-86146 is an HTTP request smuggling vulnerability in Apache bRPC versions prior to 1.18.0. The flaw resides in the bundled HTTP/1.1 parser, a fork of http-parser, which accepts several non-conforming header forms. When bRPC is deployed behind a proxy or load balancer, the two parsers interpret the same bytes differently. Remote attackers can exploit this desynchronization to smuggle HTTP requests, inject headers such as Authorization or X-Forwarded-For, or desynchronize HTTP responses. The weakness is classified under CWE-444: Inconsistent Interpretation of HTTP Requests.
Critical Impact
Attackers can smuggle requests through front-end proxies and forge trusted headers, bypassing authentication and access controls enforced at the edge.
Affected Products
- Apache bRPC versions prior to 1.18.0
- bRPC server deployments communicating over HTTP/1.1 behind a proxy or load balancer
- bRPC client deployments interoperating with HTTP/1.1 peers that parse messages independently
Discovery Timeline
- 2026-10-21 - CVE-2026-86146 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-86146
Vulnerability Analysis
The bRPC HTTP/1.1 parser accepts five classes of malformed or obsolete header constructs that a conforming front-end either rejects or interprets differently. Each class produces a framing or header-set discrepancy between bRPC and the upstream proxy, enabling classic HTTP request smuggling.
First, a space before the colon in framing headers such as Content-Length : 5 is accepted, with the numeric value still driving bRPC framing. Second, interior spaces inside a Content-Length value, for example Content-Length: 1 3, are skipped so bRPC reads 13 while the front-end reads 1 or rejects the message. This mirrors CVE-2022-32213 in Node.js. Third, obsolete line folding (obs-fold, RFC 7230 3.2.4) of Content-Length and Transfer-Encoding values is accepted, letting a folded framing value drive bRPC while an unfolding-agnostic front-end sees a different message.
Fourth, chunked trailer fields are routed through the same header callbacks as the main header section and merged into the final header map. Because front-ends typically only inspect the leading header section, any chunked request can smuggle trusted fields such as Authorization or X-Forwarded-For into the bRPC request state. Fifth, Transfer-Encoding lists with whitespace after a comma, for example Transfer-Encoding: gzip, chunked, are not recognized as chunked, causing responses to be read until connection close and producing response desync.
Root Cause
The root cause is permissive parsing in the bRPC fork of http-parser. Framing headers accept trailing spaces, interior whitespace, and obsolete folding, and chunked trailers are not isolated from the main header map. These behaviors violate RFC 7230 strict message framing rules.
Attack Vector
An attacker sends crafted HTTP/1.1 requests through a front-end proxy to a bRPC backend. By exploiting any of the five parsing discrepancies, the attacker causes the proxy and bRPC to disagree on message boundaries or header contents. This permits smuggled requests, forged identity headers, or response queue poisoning against other clients sharing the same connection.
No verified public exploit code is available. See the Apache Mailing List Thread for the full technical disclosure.
Detection Methods for CVE-2026-86146
Indicators of Compromise
- HTTP/1.1 requests containing Content-Length headers with trailing spaces before the colon or interior whitespace in the value
- Requests using obs-fold continuation lines on Content-Length or Transfer-Encoding headers
- Chunked requests carrying trailer fields such as Authorization, X-Forwarded-For, or other authentication-related headers
- Transfer-Encoding values containing comma-separated codings with surrounding whitespace, for example gzip, chunked
Detection Strategies
- Compare request headers logged at the front-end proxy against those observed by bRPC backends to surface header-set divergence
- Deploy web application firewall rules that reject non-RFC-compliant Content-Length and Transfer-Encoding header forms
- Inventory bRPC deployments and identify versions prior to 1.18.0 exposed to any HTTP/1.1 intermediary
Monitoring Recommendations
- Capture full HTTP header sections at both the proxy and bRPC backend for correlation and auditing
- Alert on unexpected Authorization or X-Forwarded-For values appearing only in backend logs but not in edge logs
- Monitor for response desynchronization symptoms, including responses truncated at connection close and cross-user response leakage
How to Mitigate CVE-2026-86146
Immediate Actions Required
- Upgrade Apache bRPC to version 1.18.0 or later on all server and client deployments
- Audit front-end proxies and load balancers to ensure strict RFC 7230 header parsing is enforced
- Review application logs for prior smuggling attempts and verify that trusted headers were not forged
Patch Information
The fix is available in Apache bRPC 1.18.0. The upstream patch is published as Apache bRPC Pull Request #3521. After the fix, the four non-compliant header forms are rejected by default and chunked trailers are dropped rather than merged into the header map. Two gflags provide backward compatibility: http_allow_obs_fold=true restores acceptance of folded framing values, and http_strict_header_token=true additionally rejects spaces inside any header field name. Legitimate clients that do not rely on these obsolete forms are unaffected.
Workarounds
- Place a strict RFC-compliant HTTP/1.1 reverse proxy in front of bRPC that normalizes or rejects malformed Content-Length and Transfer-Encoding headers
- Strip chunked trailer fields at the edge before requests reach the bRPC backend
- Disable HTTP/1.1 keep-alive on affected connections to reduce the impact of response desynchronization against other clients
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

