Skip to main content
Vulnerability Database/CVE-2026-105299

CVE-2026-105299: Pingora Proxy Auth Bypass Vulnerability

CVE-2026-105299 is an authentication bypass flaw in Pingora Proxy that allows attackers to bypass IP-based authorization in chained deployments. This post explains its impact, affected versions, and mitigation steps.

Published:

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-105299 Overview

CVE-2026-105299 is an HTTP request smuggling vulnerability in Cloudflare's pingora-proxy library affecting versions prior to 0.9.0. The HTTP/1 upstream path forwards client requests through upstream_request_filter without stripping the client's Connection header, hop-by-hop headers, or headers nominated by Connection. This conflicts with RFC 9110 Section 7.6.1, which requires intermediaries to remove them. The HTTP/2 upstream path already performed the correct sanitization. An unauthenticated remote attacker can abuse this gap in chained HTTP/1 deployments to strip Pingora-added headers before they reach the origin.

Critical Impact

Attackers can bypass IP-based authorization at the origin by nominating trusted headers such as X-Forwarded-For for removal by a downstream HTTP/1 intermediary.

Affected Products

  • Cloudflare pingora-proxy versions before 0.9.0
  • Applications built on Pingora that rely on upstream_request_filter to inject trusted headers
  • Chained deployments where an HTTP/1 intermediary (for example, Go's net/http/httputil.ReverseProxy) sits between Pingora and the origin

Discovery Timeline

  • 2026-10-20 - CVE-2026-105299 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-105299

Vulnerability Analysis

The vulnerability is an HTTP request smuggling flaw [CWE-444] in the HTTP/1 upstream handling of pingora-proxy. Pingora processes the downstream request through its upstream_request_filter hook, where application code typically injects headers such as X-Forwarded-For used for IP-based authorization at the origin. Before version 0.9.0, Pingora wrote the request upstream without removing the client's Connection header or the hop-by-hop headers nominated inside it.

A remote attacker can set Connection: X-Forwarded-For in the downstream request. Pingora passes this value upstream unchanged. A downstream HTTP/1 intermediary that honors RFC 9110 will then strip the X-Forwarded-For header, including the trusted value added by the Pingora filter, before the request reaches the origin. The origin receives the request without the authorization-relevant header and may grant access it would otherwise deny. This matches the class of defect described in CVE-2022-31813 affecting Apache HTTP Server.

Root Cause

The root cause is incomplete RFC 9110 conformance in the HTTP/1 upstream serializer. The HTTP/2 code path already sanitized Connection and other HTTP/1-specific hop-by-hop headers, but the HTTP/1 path trusted the downstream Connection value verbatim. Headers added by upstream_request_filter were appended after the client-controlled list, so an attacker-nominated name could still identify them for stripping by the next hop.

Attack Vector

Exploitation requires a chained topology: attacker → Pingora (HTTP/1 upstream) → HTTP/1 reverse proxy that honors Connection nominations → origin that trusts intermediary-injected headers. The attacker sends an unauthenticated HTTP/1 request whose Connection header lists the names of trust-sensitive headers added by Pingora. The reporter demonstrated access to an IP-restricted endpoint by causing the downstream proxy to drop X-Forwarded-For. Cloudflare CDN customers are not exposed because production Pingora gateways receive sanitized Connection headers and no such chained HTTP/1 topology exists internally.

No verified exploit code is published. See the Cloudflare Pingora repository for the fix commits and advisory text.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-105299

Indicators of Compromise

  • Downstream HTTP/1 requests to Pingora containing a Connection header nominating X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto, Host, or other application-trusted header names
  • Origin access logs showing successful requests to IP-restricted endpoints with a missing or attacker-controlled X-Forwarded-For value
  • Discrepancies between headers logged at the Pingora layer and headers observed at the origin for the same request identifier

Detection Strategies

  • Compare the Connection header value received by Pingora against the header set observed at the origin to identify stripped headers in flight
  • Alert on inbound HTTP/1 requests whose Connection header nominates names reserved for infrastructure trust (X-Forwarded-*, Host, pseudo-headers)
  • Correlate authorization decisions at the origin with the presence and provenance of X-Forwarded-For to detect bypass attempts

Monitoring Recommendations

  • Enable verbose request logging at both Pingora and the downstream HTTP/1 intermediary to make header mutation observable
  • Track the rate of requests reaching IP-restricted endpoints without an upstream-added trusted header
  • Monitor Pingora version inventory across environments and flag any instance below 0.9.0

How to Mitigate CVE-2026-105299

Immediate Actions Required

  • Upgrade pingora and pingora-proxy to version 0.9.0 or later across all deployments
  • Audit upstream_request_filter implementations for headers used in authorization decisions at the origin
  • Verify that HttpUpstreamRequestPolicy::preserve() is not configured if the origin trusts Pingora-added headers

Patch Information

Upgrade to pingora 0.9.0 or later. The fix sanitizes hop-by-hop and Connection-nominated headers from upstream requests by default, and rejects requests whose Connection header nominates Host, X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto, or any pseudo-header. The behavior is controlled by PeerOptions::http_upstream_request_policy using the HttpUpstreamRequestPolicy type. The fix commits are 28c18e6 and ca23f16.

Workarounds

  • If you cannot upgrade, modify upstream_request_filter to remove the client's Connection header and every header name it nominates before adding any trusted headers
  • Do not call HttpUpstreamRequestPolicy::preserve(), which restores the vulnerable passthrough behavior
  • Where feasible, terminate HTTP/1 and re-originate HTTP/2 to the next hop so that hop-by-hop sanitization applies
bash
# Configuration example
# After upgrading to pingora >= 0.9.0, retain the default policy
# (do NOT invoke HttpUpstreamRequestPolicy::preserve()).
# Verify installed version:
cargo tree -p pingora | head -n 1

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.