<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z" -->

---
title: CVE-2026-134792 HttpClient Lets the Proxy Header of a...
description: A client can pick the outgoing proxy of a Symfony HTTP Client app by sending a Proxy header, if the app runs in a CLI-SAPI HTTP worker. These workers put...
canonical: https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CVE-2026-134792 HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in CLI-SAPI HTTP Workers (Symfony Blog) | daily.dev
og:description: A client can pick the outgoing proxy of a Symfony HTTP Client app by sending a Proxy header, if the app runs in a CLI-SAPI HTTP worker. These workers put...
og:url: https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z
og:image: https://api.daily.dev/og/posts/GSwjWgC6Z.png
og:image:alt: CVE-2026-134792 HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in CLI-SAPI HTTP Workers (Symfony Blog)
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CVE-2026-134792 HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in CLI-SAPI HTTP Workers (Symfony Blog)

**[Symfony](https://daily.dev/sources/symfony)** · 2 min read · 0 upvotes · 0 comments

## Summary

A client can pick the outgoing proxy of a Symfony HTTP Client app by sending a Proxy header, if the app runs in a CLI-SAPI HTTP worker. These workers put request headers in $_SERVER, where HttpClient read HTTP_PROXY. The proxy received full http:// requests with credentials and could forge responses. For https:// URLs it learned the host and port through CONNECT. Affected workers include spiral/roadrunner-http, baldinof/roadrunner-bundle and php-pm. Fixed in 5.4.57, 6.4.51, 7.4.24 and 8.1.12, which read HTTP_PROXY from $_ENV and getenv() on the CLI SAPI.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://symfony.com/blog/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests-in-cli-sapi-http-workers>

## Questions this post answers

### Why can a Proxy request header hijack outgoing requests in Symfony HttpClient under RoadRunner or php-pm?

On the CLI SAPI, HttpClient read HTTP_PROXY from $_SERVER. CLI HTTP workers such as spiral/roadrunner-http, baldinof/roadrunner-bundle and php-pm also put request headers there. A client's Proxy header could therefore choose the proxy for outgoing requests. That proxy saw full http:// requests with credentials, could forge responses, and learned host and port for https:// via CONNECT.

_Developers running long-lived PHP workers follow advisories like this on daily.dev._

### Which Symfony HTTP Client versions fix the HTTP_PROXY header injection in CLI workers?

The fix is in Symfony HTTP Client 5.4.57, 6.4.51, 7.4.24 and 8.1.12. Affected ranges are >=4.3 <5.4.57, >=6 <6.4.51, >=7 <7.4.24 and >=8 <8.1.12. After the patch, the CLI SAPI reads HTTP_PROXY from $_ENV and getenv(), never from $_SERVER.

_Teams patching Symfony dependencies keep up with security advisories on daily.dev._

## Similar posts on daily.dev

- [CVE-2026-133762 Without APP\_RUNTIME\_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production \(Symfony Blog\)](https://daily.dev/posts/cve-2026-133762-without-app-runtime-mode-http-workers-running-under-the-cli-sapi-return-full-except-qe4sxxbef) · Symfony · 0 upvotes · 0 comments
- [When Proxies Become Attack Vectors Through Header Injection](https://daily.dev/posts/when-proxies-become-attack-vectors-through-header-injection-lvjjpqdyu) · Security Boulevard · 1 upvotes · 0 comments
- [When Proxies Become the Attack Vectors in Web Architectures](https://daily.dev/posts/when-proxies-become-the-attack-vectors-in-web-architectures-kdwfyox6h) · Security Boulevard · 0 upvotes · 0 comments
- [CVE-2026-46626: SymfonyRuntime CVE-2024-50340 Patch Bypass via parse\_str/SAPI Argv Mismatch \(Symfony Blog\)](https://daily.dev/posts/cve-2026-46626-symfonyruntime-cve-2024-50340-patch-bypass-via-parse-str-sapi-argv-mismatch-symfony-9izegafmu) · Symfony · 0 upvotes · 0 comments
- [CVE-2026-59326: HTTP Proxy Credentials Logged in Plaintext by the Spring Boot Language Server](https://daily.dev/posts/cve-2026-59326-http-proxy-credentials-logged-in-plaintext-by-the-spring-boot-language-server-bjhmbawqm) · Spring · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#php](https://daily.dev/tags/php), [#symfony](https://daily.dev/tags/symfony)

[View this post on daily.dev](https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CVE-2026-134792 HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in CLI-SAPI HTTP Workers (Symfony Blog)","url":"https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z"},"datePublished":"2026-11-25T10:27:36.817Z","dateModified":"2026-11-25T10:27:58.282Z","description":"A client can pick the outgoing proxy of a Symfony HTTP Client app by sending a Proxy header, if the app runs in a CLI-SAPI HTTP worker. These workers put...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/327b244859fddae8f3a20d0225898aa0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/327b244859fddae8f3a20d0225898aa0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Symfony","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Symfony","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/cc07051b7112472f9729e73c14660a64","url":"https://daily.dev/sources/symfony"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,php,symfony","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Symfony","item":"https://daily.dev/sources/symfony"},{"@type":"ListItem","position":3,"name":"CVE-2026-134792 HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in CLI-SAPI HTTP Workers (Symfony Blog)"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/cve-2026-134792-httpclient-lets-the-proxy-header-of-a-request-choose-the-proxy-of-outgoing-requests--gswjwgc6z#faq","mainEntity":[{"@type":"Question","name":"Why can a Proxy request header hijack outgoing requests in Symfony HttpClient under RoadRunner or php-pm?","acceptedAnswer":{"@type":"Answer","text":"On the CLI SAPI, HttpClient read HTTP_PROXY from $_SERVER. CLI HTTP workers such as spiral/roadrunner-http, baldinof/roadrunner-bundle and php-pm also put request headers there. A client's Proxy header could therefore choose the proxy for outgoing requests. That proxy saw full http:// requests with credentials, could forge responses, and learned host and port for https:// via CONNECT. Developers running long-lived PHP workers follow advisories like this on daily.dev."}},{"@type":"Question","name":"Which Symfony HTTP Client versions fix the HTTP_PROXY header injection in CLI workers?","acceptedAnswer":{"@type":"Answer","text":"The fix is in Symfony HTTP Client 5.4.57, 6.4.51, 7.4.24 and 8.1.12. Affected ranges are \u003e=4.3 \u003c5.4.57, \u003e=6 \u003c6.4.51, \u003e=7 \u003c7.4.24 and \u003e=8 \u003c8.1.12. After the patch, the CLI SAPI reads HTTP_PROXY from $_ENV and getenv(), never from $_SERVER. Teams patching Symfony dependencies keep up with security advisories on daily.dev."}}]}
```

