/

CVE-2026-61642

Severity:

HIGH RISK

(7.7)

HTTP Request Smuggling (CWE-444) in Squid Caching Proxy

CVE-2026-61642

Awaiting Analysis

Vulnerability type

Category:

HTTP Request Smuggling

CWE:

CWE-444

Impact:

Security Control Bypass and Web Cache Poisoning

Severity:

HIGH RISK

(7.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A request smuggling vulnerability in Squid allows a trusted client to exploit ambiguous HTTP/1.1 Transfer-Encoding parsing. Under deployments using HTTP/1.1, an attacker may bypass intermediary security controls and, where an upstream cache is present, poison cached responses for delivery to other clients.

A request smuggling vulnerability in Squid allows a trusted client to exploit ambiguous HTTP/1.1 Transfer-Encoding parsing. Under deployments using HTTP/1.1, an attacker may bypass intermediary security controls and, where an upstream cache is present, poison cached responses for delivery to other clients.

Affected context

The issue occurs in Squid deployments that accept HTTP/1.1 requests and process a bare Transfer-Encoding: identity header. Risk is higher when Squid is positioned behind or in front of other HTTP intermediaries, security filters, or web caches that interpret request boundaries differently.

The issue occurs in Squid deployments that accept HTTP/1.1 requests and process a bare Transfer-Encoding: identity header. Risk is higher when Squid is positioned behind or in front of other HTTP intermediaries, security filters, or web caches that interpret request boundaries differently.

Exploit preconditions

  • Attack surface: HTTP/1.1 traffic handled by the Squid proxy
  • Required access: A trusted client relationship or other ability to submit requests through the affected proxy
  • Trigger point: HTTP header parsing and request-boundary processing for Transfer-Encoding
  • Why exploitation is possible: Squid accepts a prohibited transfer-encoding form, which can cause it and another intermediary to disagree about where one request ends and the next begins
  • Attack surface: HTTP/1.1 traffic handled by the Squid proxy
  • Required access: A trusted client relationship or other ability to submit requests through the affected proxy
  • Trigger point: HTTP header parsing and request-boundary processing for Transfer-Encoding
  • Why exploitation is possible: Squid accepts a prohibited transfer-encoding form, which can cause it and another intermediary to disagree about where one request ends and the next begins

Why this happens

The vulnerability results from improper enforcement of the HTTP/1.1 transfer-encoding workflow. Squid accepted a bare Transfer-Encoding: identity form even though transfer codings must follow the protocol's required framing rules, creating inconsistent interpretations of message boundaries between HTTP components. This maps to CWE-444: Inconsistent Interpretation of HTTP Requests, commonly known as HTTP request smuggling.

The vulnerability results from improper enforcement of the HTTP/1.1 transfer-encoding workflow. Squid accepted a bare Transfer-Encoding: identity form even though transfer codings must follow the protocol's required framing rules, creating inconsistent interpretations of message boundaries between HTTP components. This maps to CWE-444: Inconsistent Interpretation of HTTP Requests, commonly known as HTTP request smuggling.

Potential impact

  • Security controls between the client and Squid may be bypassed
  • Requests could be misrouted or processed under unintended security contexts
  • An upstream web cache could be poisoned with attacker-controlled content
  • Malicious responses could be delivered to subsequent clients requesting affected URLs
  • Backend services may receive unintended or desynchronized requests
  • Security controls between the client and Squid may be bypassed
  • Requests could be misrouted or processed under unintended security contexts
  • An upstream web cache could be poisoned with attacker-controlled content
  • Malicious responses could be delivered to subsequent clients requesting affected URLs
  • Backend services may receive unintended or desynchronized requests

General mitigation guidance

Mitigation typically focuses on enforcing consistent, specification-compliant HTTP message framing across every intermediary.

Common defensive patterns include:

  • Rejecting malformed or prohibited Transfer-Encoding forms at the earliest boundary
  • Using strict, standards-compliant HTTP/1.1 parsing and unambiguous request delimiting
  • Ensuring reverse proxies, caches, and backend servers apply compatible request parsing policies
  • Separating or restricting trusted-client access to proxy submission interfaces
  • Reducing cache poisoning impact through safe cache-key design, response validation, and controlled cacheability
  • Applying least-privilege network and proxy policies so a compromised client cannot broadly reach sensitive upstream services
  • Using vendor-provided security fixes and maintaining consistent patch governance across the proxy chain

Mitigation typically focuses on enforcing consistent, specification-compliant HTTP message framing across every intermediary.

Common defensive patterns include:

  • Rejecting malformed or prohibited Transfer-Encoding forms at the earliest boundary
  • Using strict, standards-compliant HTTP/1.1 parsing and unambiguous request delimiting
  • Ensuring reverse proxies, caches, and backend servers apply compatible request parsing policies
  • Separating or restricting trusted-client access to proxy submission interfaces
  • Reducing cache poisoning impact through safe cache-key design, response validation, and controlled cacheability
  • Applying least-privilege network and proxy policies so a compromised client cannot broadly reach sensitive upstream services
  • Using vendor-provided security fixes and maintaining consistent patch governance across the proxy chain

How teams detect issues like this

Detection can combine protocol-aware testing with configuration and code review:

  • Inspect HTTP proxy logs for malformed or unusual Transfer-Encoding headers and request-boundary anomalies
  • Test intermediary chains for disagreements in parsing transfer codings and message lengths
  • Review parser logic for acceptance of prohibited syntax or fallback handling that changes request framing
  • Use static analysis and security rules to flag inconsistent HTTP parsing and duplicate boundary interpretation
  • Monitor cache behavior for unexpected content changes, anomalous cache fills, or responses associated with suspicious request patterns
  • Enforce CI and deployment policies requiring standards-compliant HTTP parsing and regression tests for request smuggling cases

Detection can combine protocol-aware testing with configuration and code review:

  • Inspect HTTP proxy logs for malformed or unusual Transfer-Encoding headers and request-boundary anomalies
  • Test intermediary chains for disagreements in parsing transfer codings and message lengths
  • Review parser logic for acceptance of prohibited syntax or fallback handling that changes request framing
  • Use static analysis and security rules to flag inconsistent HTTP parsing and duplicate boundary interpretation
  • Monitor cache behavior for unexpected content changes, anomalous cache fills, or responses associated with suspicious request patterns
  • Enforce CI and deployment policies requiring standards-compliant HTTP parsing and regression tests for request smuggling cases

Sources

SourceLink
github.comgithub.com/squid-cache/squid/commit/d06f48de8b8cc9a378cb91ecfe8e89b6e81696d2
github.comgithub.com/squid-cache/squid/commit/d808a7c825a70275113790471135c9c4d547ee51
github.comgithub.com/squid-cache/squid/pull/2427
github.comgithub.com/squid-cache/squid/pull/2431
github.comgithub.com/squid-cache/squid/releases/tag/SQUID_7_6
github.comgithub.com/squid-cache/squid/security/advisories/GHSA-537g-4gfh-w7m6

Frequently asked

questions

It can be exploitable over the network when a client can submit HTTP/1.1 traffic through an affected Squid instance and the surrounding proxy chain interprets request framing differently.

The described attack requires trusted-client access or another permitted route through Squid. The exact access requirement depends on proxy access controls and deployment architecture.

Enforce strict, specification-compliant transfer-encoding validation and ensure every intermediary uses consistent request-boundary parsing. Applying the vendor's security fix is also an important part of remediation.

Use protocol-aware regression tests, reject ambiguous or prohibited framing, align parsing policies across proxies and caches, and monitor for request desynchronization and abnormal cache behavior.

It can be exploitable over the network when a client can submit HTTP/1.1 traffic through an affected Squid instance and the surrounding proxy chain interprets request framing differently.

The described attack requires trusted-client access or another permitted route through Squid. The exact access requirement depends on proxy access controls and deployment architecture.

Enforce strict, specification-compliant transfer-encoding validation and ensure every intermediary uses consistent request-boundary parsing. Applying the vendor's security fix is also an important part of remediation.

Use protocol-aware regression tests, reject ambiguous or prohibited framing, align parsing policies across proxies and caches, and monitor for request desynchronization and abnormal cache behavior.

Find out what's already
exploitable in your codebase.