CVE-2016-5385 · redhat
CVE-2016-5385
PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, as demonstrated by (1) an application that makes a getenv('HTTP_PROXY') call or (2) a CGI configuration of PHP, aka an "httpoxy" issue.
Published 2016-07-19, last changed 2026-06-17. Weakness: CWE-601.
How to fix
Upgrade to a fixed version: guzzlehttp/guzzle 4.2.4, 5.3.1, 6.2.1 (Packagist); drupal/core 8.1.7 (Packagist); bugsnag/bugsnag-laravel 2.0.2 (Packagist); amphp/artax 1.0.4, 2.0.4 (Packagist); padraic/humbug_get_contents 1.1.2 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in drupal/drupal by 5e60a27703, 3f808fba62, bcd100d812. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2016-07-19 | Published |
| 2022-04-07 | Package advisory GHSA-m6ch-gg5f-wxx3 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 50.4% |
| 2026-11-30 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-m6ch-gg5f-wxx3 | guzzlehttp/guzzle (Packagist) | 6.2.1 |
| GHSA-m6ch-gg5f-wxx3 | guzzlehttp/guzzle (Packagist) | 4.2.4 |
| GHSA-m6ch-gg5f-wxx3 | guzzlehttp/guzzle (Packagist) | 5.3.1 |
| GHSA-m6ch-gg5f-wxx3 | drupal/core (Packagist) | 8.1.7 |
| GHSA-m6ch-gg5f-wxx3 | bugsnag/bugsnag-laravel (Packagist) | 2.0.2 |
Also known as: GHSA-m6ch-gg5f-wxx3
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-69246 | 2026-08-03 | 7.2 | Guzzle: Noncanonical host can bypass host-based checks |
| CVE-2026-69245 | 2026-08-03 | 6.5 | Guzzle: Noncanonical cookie domain keeps subdomain scope |
| CVE-2026-67355 | 2026-08-01 | 8.2 | guzzlehttp/guzzle before 7.15.1 Host-only Cookie Scope |
| CVE-2026-67354 | 2026-08-01 | 8.2 | guzzlehttp/guzzle before 7.15.1 URI Fragment Disclosure via Referer |
| CVE-2026-67353 | 2026-08-01 | 6.9 | guzzlehttp/guzzle before 7.15.1 Unbounded Cookie Denial of Service |
| CVE-2026-67339 | 2026-08-01 | 6.9 | guzzlehttp/guzzle before 7.14.2 Proxy-Authorization Header Disclosure |
| CVE-2026-59883 | 2026-07-08 | 6.1 | Guzzle: Cookie Disclosure and Injection via IP-Address Domains |
| CVE-2026-55767 | 2026-06-23 | 5.8 | Guzzle: Dot-Only Cookie Domains Match All Hosts in guzzlehttp/guzzle |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-5385, or call /api/v1/vulnerabilities/CVE-2016-5385. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.