CVE-2026-105299: Pingora forwards client-nominated Connection headers to HTTP/1 upstreams, allowing ACL bypass in specific chained deployments

Published Oct 20, 2026
·
Updated

Summary

Before version 0.9.0, the HTTP/1 upstream path in pingora-proxy passed the downstream request through upstreamrequestfilter 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 upstreamrequestfilter (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::httpupstreamrequestpolicy (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 upstreamrequestfilter, remove the Connection header and every header it nominates before adding trusted headers.

Affected Software

1 affected component
Cloudflare Pingora<0.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pingora to a version that resolves this vulnerability.

    Fixed in 0.9.0
  2. Configuration

    Do not configure HttpUpstreamRequestPolicy::preserve(), because it restores the old passthrough behavior and can forward client-nominated headers.

    Pingora PeerOptions::http_upstream_request_policy = do not use HttpUpstreamRequestPolicy::preserve()
  3. Compensating control

    In upstream_request_filter, remove the Connection header and every header it nominates before adding trusted headers.

Event History

Oct 20, 2026
CVE Published
via MITRE·01:07 AM
Data Sourced
via MITRE·01:07 AM
RemedyDescriptionSeverity
Data Sourced
via NVD·02:17 AM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are realistically exposed?

Exposure requires Pingora to use an HTTP/1 upstream path, with another HTTP/1 intermediary between Pingora and the origin that honors Connection header nominations. The origin must also trust a header added by that intermediary, such as X-Forwarded-For, for a security decision like IP-based authorization.

2

What does an attacker need to exploit this?

The attacker can be remote and unauthenticated. They need to send a client Connection header that nominates a security-relevant header added during Pingora's upstream_request_filter processing, causing a downstream HTTP/1 intermediary to remove that header before forwarding to the origin.

3

Are HTTP/2 upstream connections affected?

No. The HTTP/2 upstream path already removes Connection and related HTTP/1-specific headers.

4

How can I determine whether my deployment is affected?

Check whether Pingora forwards requests to an HTTP/1 intermediary before the origin, whether that intermediary processes Connection nominations, and whether the origin relies on intermediary-added headers for authorization. Affected behavior is present before version 0.9.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203