CVE-2026-105299
Received Received - Intake

HTTP/1 Header Injection in Pingora Proxy

Vulnerability report for CVE-2026-105299, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-20

Assigner: Cloudflare, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-20
Generated
2026-10-20
AI Q&A
2026-10-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Cloudflare https://github.com/cloudflare/pingora 0.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects pingora-proxy versions before 0.9.0. It involves improper handling of the Connection header in HTTP/1 upstream requests. The system passes downstream requests to the upstream without removing client-specified Connection headers or related hop-by-hop headers, violating RFC 9110 Section 7.6.1. This allows attackers to manipulate headers added by the application, potentially bypassing authorization.

Detection Guidance

To detect this vulnerability, check if your Pingora proxy version is below 0.9.0. Run: pingora-proxy --version. Inspect HTTP/1 upstream requests for Connection headers or headers it nominates (e.g., X-Forwarded-For) being passed to the origin without sanitization.

Impact Analysis

If you use pingora-proxy in a chained deployment with an HTTP/1 intermediary that processes Connection headers, an attacker could remove headers added by Pingora (like X-Forwarded-For) before they reach the origin. This could bypass IP-based authorization, allowing unauthorized access to restricted endpoints. Cloudflare CDN users are unaffected.

Mitigation Strategies

Upgrade Pingora to version 0.9.0 or later. If upgrading is not possible, modify upstream_request_filter to remove the Connection header and any headers it nominates before adding trusted headers like X-Forwarded-For.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-105299. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart