Mar 6, 2026·5 min read·106 visits
Pingora proxies < v0.8.0 fail to validate backend confirmation before upgrading connections (e.g., WebSockets), allowing attackers to smuggle requests past security controls by exploiting state desynchronization.
A critical HTTP request smuggling vulnerability exists in Cloudflare Pingora versions prior to v0.8.0 due to improper handling of HTTP connection upgrades. The proxy prematurely transitions to a blind tunneling state upon observing an 'Upgrade' header in a client request, without waiting for the upstream server's confirmation (101 Switching Protocols). This allows attackers to desynchronize the connection state between the proxy and the backend, enabling the smuggling of arbitrary HTTP requests that bypass security controls, WAFs, and authentication layers.
CVE-2026-2833 describes a critical implementation flaw in the HTTP protocol state machine of Cloudflare Pingora, a Rust-based framework for building programmable network services. The vulnerability is a specific variant of HTTP Request Smuggling (CWE-444) characterized by a 'Premature Upgrade' transition.
In a standard HTTP/1.1 connection upgrade (such as establishing a WebSocket), the client requests a protocol switch via the Upgrade header. RFC 9110 dictates that the proxy must only transition to tunneling mode—where it forwards raw bytes without inspection—after the upstream server explicitly accepts the upgrade with a 101 Switching Protocols response. Pingora failed to adhere to this requirement, optimistically switching to tunnel mode immediately after parsing the client's Upgrade header.
This behavior creates a desynchronization window. If an attacker sends a request requesting an upgrade followed immediately by a second 'smuggled' request, Pingora treats the smuggled bytes as opaque data belonging to the upgraded stream. If the backend server rejects the upgrade (returning a 200, 403, or 404), it remains in HTTP parsing mode and interprets the smuggled bytes as a valid, subsequent request. This effectively allows the second request to traverse the proxy without being subjected to standard security policies, rate limits, or access controls.
The root cause lies in the HttpSession::read_request logic within Pingora's connection handling module. The proxy's state machine was designed to facilitate high-performance forwarding by minimizing buffering. When the parser detected a Connection: Upgrade or Upgrade: websocket header, it flagged the session for immediate conversion to a TCP tunnel.
Specifically, the code failed to verify the upstream response code before altering the interpretation of the client's byte stream. The proxy assumed that the presence of the Upgrade header in the request was sufficient to define the connection semantics for the remainder of the session. This assumption is incorrect because the upstream server has the final authority on whether the protocol switch actually occurs.
When the proxy enters this 'blind forwarding' state prematurely, it stops delineating HTTP message boundaries. It effectively becomes a transparent pipe. Meanwhile, the upstream server, having rejected or ignored the upgrade request, continues to parse the connection as a sequence of HTTP/1.1 messages. This discrepancy—where the proxy sees a stream of bytes but the backend sees a sequence of distinct messages—is the classic condition required for request smuggling.
The remediation for CVE-2026-2833 involves enforcing a strict check on the upstream response status code before transitioning the body reader mode. The fix was introduced in commit 824bdeefc61e121cc8861de1b35e8e8f39026ecd.
Vulnerable Logic (Conceptual): Previously, the decision to upgrade was made during the request phase:
// Vulnerable: Mode decided based on request headers alone
if request.headers.contains("Upgrade") {
self.body_reader_mode = BodyMode::Tunnel;
}Fixed Logic:
The patched version introduces a was_upgraded flag and defers the mode switch until the response headers are processed. The proxy now explicitly checks for the 101 status code.
// Fixed: Check response status before switching modes
fn finish_response_body(...) {
// Only convert to tunnel if the server actually switched protocols
if response.status == 101 {
self.body_reader.convert_to_tunnel();
} else {
// Otherwise, maintain HTTP/1.1 or HTTP/1.0 semantics
self.body_reader.convert_to_until_close();
}
}This change ensures that Pingora maintains HTTP parsing visibility over the connection until the protocol upgrade is mutually agreed upon by both the client and the backend server.
To exploit this vulnerability, an attacker constructs a specially crafted HTTP pipeline containing an Upgrade request followed by a malicious payload. The attack relies on the backend server behaving normally (rejecting the upgrade) while the proxy behaves abnormally (assuming the upgrade succeeded).
Step 1: The Setup The attacker connects to the Pingora proxy and sends the following payload:
GET /socket HTTP/1.1
Host: target.com
Upgrade: websocket
Connection: Upgrade
GET /admin/delete_user?id=1 HTTP/1.1
Host: target.com
Step 2: The Desynchronization
GET /socket headers. Seeing the Upgrade header, it forwards the request to the backend and immediately switches its internal state to Tunnel. It then forwards the remaining bytes (GET /admin...) blindly, assuming they are WebSocket frames.GET /socket. Suppose the backend does not support WebSockets on this endpoint or requires authentication that is missing. It responds with 404 Not Found or 401 Unauthorized.GET /admin/delete_user... as a legitimate, new request.Step 3: The Impact
The backend executes the /admin action. Crucially, because the request originated from the proxy's IP address (which is often trusted), the backend may bypass internal IP allowlists. Furthermore, Pingora's own WAF or ACLs would have only inspected the initial /socket request, completely missing the smuggled /admin command.
The impact of this vulnerability is rated Critical (CVSS 9.3) because it fundamentally undermines the security role of the proxy. Pingora is often deployed as a gateway to enforce security policies, rate limits, and authentication checks. By bypassing these checks, attackers gain direct access to backend systems.
Security Implications:
/admin, /metrics) that are configured to be blocked by the proxy.Upgrade request or a subsequent victim's request, serving malicious content to other users.Scope: This affects standalone deployments of Pingora. Cloudflare has stated that their global CDN infrastructure was not vulnerable due to specific architectural differences in how their edge network handles connection upgrades.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Cloudflare Pingora Cloudflare | < 0.8.0 | 0.8.0 |
| Attribute | Detail |
|---|---|
| CVE ID | CVE-2026-2833 |
| CVSS Score | 9.3 (Critical) |
| CWE ID | CWE-444 (Inconsistent Interpretation of HTTP Requests) |
| Attack Vector | Network |
| Impact | WAF Bypass, Cache Poisoning, Authorization Bypass |
| Fix Version | v0.8.0 |
A critical use-after-free vulnerability in Microsoft QUIC allows unauthenticated remote attackers to disclose sensitive system memory over the network. The vulnerability is caused by a race condition during rapid connection termination and asynchronous packet retransmission.
CVE-2026-62899 is a security feature bypass vulnerability in the Microsoft .NET runtime environment on non-Windows platforms. The flaw manifests as an HTTP Request/Response Smuggling vulnerability (CWE-444) within the managed implementation of the System.Net.HttpListener class. This allows unauthenticated remote attackers to desynchronize request boundaries when the backend .NET application is hosted behind an upstream reverse proxy.
CVE-2026-62901 is a high-severity Denial of Service (DoS) vulnerability in the Microsoft .NET ecosystem, specifically affecting the System.Net.WebSockets frame-processing engine and associated network transports. Under certain circumstances, a remote, unauthenticated attacker can exploit this vulnerability by sending malformed or specifically crafted WebSocket packets over the network, causing a targeted .NET application server to enter a tight infinite loop. This behavior results in 100% CPU utilization on the executing thread, starving application resources and leading to a complete Denial of Service.
A high-severity Local Elevation of Privilege (EoP) vulnerability exists in the Microsoft .NET runtime and Visual Studio on Unix-like platforms. The flaw arises from an unchecked return value (CWE-252) during the initialization of the Diagnostics Inter-Process Communication (IPC) socket. By exploiting this vulnerability, a low-privileged local attacker can execute arbitrary commands with the privileges of a higher-privileged .NET process.
CVE-2026-70354 is a high-severity local code execution vulnerability affecting multiple versions of the Microsoft .NET runtime, .NET Framework, and Microsoft Visual Studio. The vulnerability is located within the Windows Presentation Foundation (WPF) layout and rendering subsystems, specifically within the parsing and rasterization of complex graphical layouts, XPS files, or custom font structures.
An integer overflow vulnerability (CWE-190) exists in the layout and rendering engines of the Microsoft .NET Framework and .NET Core. This flaw resides within the processing of complex coordinate maps, font tables, and image metadata in Windows Presentation Foundation (WPF) and Windows Forms (WinForms). By convincing a user to open a crafted vector graphic or layout document, a local attacker can exploit this arithmetic error to induce an undersized memory allocation, leading to a heap-based buffer overflow and subsequent arbitrary code execution within the context of the vulnerable application.