Description
Summary



Before version 0.9.0, the HTTP/1 upstream path in pingora-proxy passed the downstream request through upstream_request_filter and wrote it to the upstream without removing the client's Connection header, other hop-by-hop headers, or the headers Connection nominated, although RFC 9110 Section 7.6.1 requires intermediaries to remove them. The HTTP/2 upstream path already removed Connection and related HTTP/1-specific headers. A client could therefore nominate a header that the application adds in upstream_request_filter (for example, Connection: keep-alive, X-Forwarded-For). A downstream HTTP/1 intermediary that honors Connection would then strip the Pingora-added header before it reached the origin.




Impact



Specifically affects chained deployments where an HTTP/1 intermediary between Pingora and the origin processes Connection nominations (for example, Go's net/http/httputil.ReverseProxy) and the origin trusts headers added by that intermediary (for example, X-Forwarded-For for IP-based authorization). A remote, unauthenticated attacker can have those headers removed, potentially bypassing authorization. The reporter demonstrated access to an IP-restricted endpoint using X-Forwarded-For for IP validation on the origin. This is the same class of issue as CVE-2022-31813 in Apache HTTP Server.




Note that Cloudflare CDN customers were unaffected, as no such chained deployment as described above exists with internal Pingora services, and Connection headers are sanitized before arriving at Pingora gateways.



Mitigation:

*

Upgrade to pingora 0.9.0 or later. By default, Pingora now removes hop-by-hop and Connection-nominated headers from upstream requests, and rejects requests whose Connection header nominates Host, X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto, or a pseudo-header. This is controlled by PeerOptions::http_upstream_request_policy (HttpUpstreamRequestPolicy). Fix commits: https://github.com/cloudflare/pingora/commit/28c18e6b6b04dd0bd937234e5950049e6d74cded , https://github.com/cloudflare/pingora/commit/ca23f1668eca8e78be7ba62ef0edbd458b40eeee


*

Do not use HttpUpstreamRequestPolicy::preserve() if the origin relies on headers added by Pingora; it restores the old passthrough behavior.


*

If you cannot upgrade: in upstream_request_filter, remove the Connection header and every header it nominates before adding trusted headers.
Published: 2026-10-20
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Authorization Bypass via ACL removal of key proxy headers
Action: Immediate Patch
AI Analysis

Impact

Pingora versions before 0.9.0 fail strip client‑specified Connection headers and the headers they nominate before forwarding an HTTP/1 upstream request. RFC 9110 mandates that intermediaries remove these hop‑by‑hop headers, but Pingora’s earlier code did not, allowing an attacker to cause a downstream HTTP/1 proxy (e.g., Go’s net/http/httputil.ReverseProxy) to strip important request headers such as X‑Forwarded‑For. When the origin trusts those sanitized headers for IP‑based authorization, the attacker can effectively bypass ACL checks and gain unauthorized access to protected endpoints.

Affected Systems

The vulnerability affects Cloudflare Pingora proxy deployments running any version older than 0.9.0. Attackers must target a configuration where Pingora forwards to an HTTP/1 upstream that honors Connection headers and an origin that relies on the sanitized forwarded headers for authorization, such as the Go ReverseProxy example described.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and the vulnerability can be exploited remotely by an unauthenticated attacker who can send crafted requests to Pingora. Because the exploit requires a specific chained deployment architecture, the likelihood of widespread exploitation may be lower, but the impact is severe for affected deployments that trust forwarded headers for ACL enforcement. This issue is not listed in the CISA KEV catalog, and the EPSS score of 0.00335 (less than 1%) indicates a very low but non‑zero probability of exploitation.

Generated by OpenCVE AI on October 22, 2026 at 20:17 UTC.

Remediation

Vendor Solution

Mitigation: * Upgrade to pingora 0.9.0 or later. By default, Pingora now removes hop-by-hop and Connection-nominated headers from upstream requests, and rejects requests whose Connection header nominates Host, X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto, or a pseudo-header. This is controlled by PeerOptions::http_upstream_request_policy (HttpUpstreamRequestPolicy). Fix commits: https://github.com/cloudflare/pingora/commit/28c18e6b6b04dd0bd937234e5950049e6d74cded , https://github.com/cloudflare/pingora/commit/ca23f1668eca8e78be7ba62ef0edbd458b40eeee * Do not use HttpUpstreamRequestPolicy::preserve() if the origin relies on headers added by Pingora; it restores the old passthrough behavior. * If you cannot upgrade: in upstream_request_filter, remove the Connection header and every header it nominates before adding trusted headers.


OpenCVE Recommended Actions

  • Upgrade Pingora to version 0.9.0 or later; the default policy now removes hop‑by‑hop and Connection‑nominated headers and rejects requests that nominate Host, X‑Forwarded‑For, X‑Forwarded‑Host, X‑Forwarded‑Proto, or a pseudo‑header.
  • If Pingora is configured with HttpUpstreamRequestPolicy::preserve(), reconfigure to a stricter policy; preserve() restores the old passthrough behavior and reintroduces the flaw.
  • If an upgrade is not possible, modify your upstream_request_filter logic to delete the Connection header and all headers it nominates before adding any trusted headers to the upstream request.

Generated by OpenCVE AI on October 22, 2026 at 20:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Cloudflare
Cloudflare pingora
Vendors & Products Cloudflare
Cloudflare pingora
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-444

Tue, 20 Oct 2026 01:45:00 +0000

Type Values Removed Values Added
Description Summary Before version 0.9.0, the HTTP/1 upstream path in pingora-proxy passed the downstream request through upstream_request_filter and wrote it to the upstream without removing the client's Connection header, other hop-by-hop headers, or the headers Connection nominated, although RFC 9110 Section 7.6.1 requires intermediaries to remove them. The HTTP/2 upstream path already removed Connection and related HTTP/1-specific headers. A client could therefore nominate a header that the application adds in upstream_request_filter (for example, Connection: keep-alive, X-Forwarded-For). A downstream HTTP/1 intermediary that honors Connection would then strip the Pingora-added header before it reached the origin. Impact Specifically affects chained deployments where an HTTP/1 intermediary between Pingora and the origin processes Connection nominations (for example, Go's net/http/httputil.ReverseProxy) and the origin trusts headers added by that intermediary (for example, X-Forwarded-For for IP-based authorization). A remote, unauthenticated attacker can have those headers removed, potentially bypassing authorization. The reporter demonstrated access to an IP-restricted endpoint using X-Forwarded-For for IP validation on the origin. This is the same class of issue as CVE-2022-31813 in Apache HTTP Server. Note that Cloudflare CDN customers were unaffected, as no such chained deployment as described above exists with internal Pingora services, and Connection headers are sanitized before arriving at Pingora gateways. Mitigation: * Upgrade to pingora 0.9.0 or later. By default, Pingora now removes hop-by-hop and Connection-nominated headers from upstream requests, and rejects requests whose Connection header nominates Host, X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto, or a pseudo-header. This is controlled by PeerOptions::http_upstream_request_policy (HttpUpstreamRequestPolicy). Fix commits: https://github.com/cloudflare/pingora/commit/28c18e6b6b04dd0bd937234e5950049e6d74cded , https://github.com/cloudflare/pingora/commit/ca23f1668eca8e78be7ba62ef0edbd458b40eeee * Do not use HttpUpstreamRequestPolicy::preserve() if the origin relies on headers added by Pingora; it restores the old passthrough behavior. * If you cannot upgrade: in upstream_request_filter, remove the Connection header and every header it nominates before adding trusted headers.
Title Pingora forwards client-nominated Connection headers to HTTP/1 upstreams, allowing ACL bypass in specific chained deployments
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N'}


Subscriptions

Cloudflare Pingora
cve-icon MITRE

Status: PUBLISHED

Assigner: cloudflare

Published:

Updated: 2026-10-20T19:19:36.616Z

Reserved: 2026-10-05T04:19:00.725Z

Link: CVE-2026-105299

cve-icon Vulnrichment

Updated: 2026-10-20T19:18:51.099Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T02:17:08.703

Modified: 2026-10-20T20:17:12.363

Link: CVE-2026-105299

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T20:30:12Z

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')