CVE-2026-134792 (GCVE-0-2026-134792)

Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
Title
HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in HTTP Workers That Run Under the CLI SAPI
Summary
When the proxy option isn't set, HttpClient takes the proxy from environment variables like http_proxy or HTTP_PROXY. On web servers, it ignores HTTP_PROXY, because PHP puts the Proxy request header there (the httpoxy issue). On the CLI SAPI, it read HTTP_PROXY from $_SERVER, where PHP also puts the environment. HTTP workers that run under the CLI SAPI put the headers of each request in $_SERVER too. This is the case of spiral/roadrunner-http, which the RoadRunner runner of php-runtime uses, and of baldinof/roadrunner-bundle and php-pm. A client could then send a Proxy header to choose the proxy of the requests that the application sent while handling its request. That proxy received the full requests to http:// URLs, with their credentials, and could forge the responses. For https:// URLs, it learned the host and port through CONNECT. NativeHttpClient is affected since Symfony 4.3.0, AmpHttpClient since 5.1.0, and CurlHttpClient since 4.4.40, 5.4.7 and 6.0.7. On the CLI SAPI, HTTP_PROXY is now read from the environment with $_ENV and getenv(), never from $_SERVER. Other SAPIs still ignore it.
CWE
  • CWE-15 - External Control of System or Configuration Setting
Impacted products
Vendor Product Version
Symfony symfony/http-client Affected: 4.3.0 , < 5.4.57 (semver)
Affected: 6.0.0 , < 6.4.51 (semver)
Affected: 7.0.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Symfony symfony/symfony Affected: 4.3.0 , < 5.4.57 (semver)
Affected: 6.0.0 , < 6.4.51 (semver)
Affected: 7.0.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Date Public
2026-11-25 09:36
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/http-client",
          "product": "symfony/http-client",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.57",
              "status": "affected",
              "version": "4.3.0",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.51",
              "status": "affected",
              "version": "6.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/symfony",
          "product": "symfony/symfony",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.57",
              "status": "affected",
              "version": "4.3.0",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.51",
              "status": "affected",
              "version": "6.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Nicolas Grekas"
        }
      ],
      "datePublic": "2026-11-25T09:36:51.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/markdown",
              "value": "When the `proxy` option isn\u0027t set, HttpClient takes the proxy from environment variables like `http_proxy` or `HTTP_PROXY`. On web servers, it ignores `HTTP_PROXY`, because PHP puts the `Proxy` request header there (the httpoxy issue). On the CLI SAPI, it read `HTTP_PROXY` from `$_SERVER`, where PHP also puts the environment.\n\nHTTP workers that run under the CLI SAPI put the headers of each request in `$_SERVER` too. This is the case of spiral/roadrunner-http, which the RoadRunner runner of php-runtime uses, and of baldinof/roadrunner-bundle and php-pm. A client could then send a `Proxy` header to choose the proxy of the requests that the application sent while handling its request. That proxy received the full requests to `http://` URLs, with their credentials, and could forge the responses. For `https://` URLs, it learned the host and port through `CONNECT`.\n\n`NativeHttpClient` is affected since Symfony 4.3.0, `AmpHttpClient` since 5.1.0, and `CurlHttpClient` since 4.4.40, 5.4.7 and 6.0.7.\n\nOn the CLI SAPI, `HTTP_PROXY` is now read from the environment with `$_ENV` and `getenv()`, never from `$_SERVER`. Other SAPIs still ignore it."
            }
          ],
          "value": "When the proxy option isn\u0027t set, HttpClient takes the proxy from environment variables like http_proxy or HTTP_PROXY. On web servers, it ignores HTTP_PROXY, because PHP puts the Proxy request header there (the httpoxy issue). On the CLI SAPI, it read HTTP_PROXY from $_SERVER, where PHP also puts the environment.\n\nHTTP workers that run under the CLI SAPI put the headers of each request in $_SERVER too. This is the case of spiral/roadrunner-http, which the RoadRunner runner of php-runtime uses, and of baldinof/roadrunner-bundle and php-pm. A client could then send a Proxy header to choose the proxy of the requests that the application sent while handling its request. That proxy received the full requests to http:// URLs, with their credentials, and could forge the responses. For https:// URLs, it learned the host and port through CONNECT.\n\nNativeHttpClient is affected since Symfony 4.3.0, AmpHttpClient since 5.1.0, and CurlHttpClient since 4.4.40, 5.4.7 and 6.0.7.\n\nOn the CLI SAPI, HTTP_PROXY is now read from the environment with $_ENV and getenv(), never from $_SERVER. Other SAPIs still ignore it."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "baseScore": 8.3,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-15",
              "description": "CWE-15 External Control of System or Configuration Setting",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T10:00:23.614Z",
        "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "shortName": "Symfony"
      },
      "references": [
        {
          "name": "CVE-2026-134792",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/cve-2026-134792"
        },
        {
          "name": "GHSA-cjfx-x9pc-q4rx",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97"
        }
      ],
      "source": {
        "advisory": "GHSA-cjfx-x9pc-q4rx",
        "discovery": "UNKNOWN"
      },
      "title": "HttpClient Lets the Proxy Header of a Request Choose the Proxy of Outgoing Requests in HTTP Workers That Run Under the CLI SAPI",
      "x_generator": {
        "engine": "symfony/ghsa-to-cve"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
    "assignerShortName": "Symfony",
    "cveId": "CVE-2026-134792",
    "datePublished": "2026-11-25T10:00:23.614Z",
    "dateReserved": "2026-11-22T17:09:05.968Z",
    "dateUpdated": "2026-11-25T10:00:23.614Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/http-client",
                "product": "symfony/http-client",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "5.4.57",
                    "status": "affected",
                    "version": "4.3.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.4.51",
                    "status": "affected",
                    "version": "6.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.4.24",
                    "status": "affected",
                    "version": "7.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.12",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/symfony",
                "product": "symfony/symfony",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "5.4.57",
                    "status": "affected",
                    "version": "4.3.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.4.51",
                    "status": "affected",
                    "version": "6.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.4.24",
                    "status": "affected",
                    "version": "7.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.12",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "When the proxy option isn\u0027t set, HttpClient takes the proxy from environment variables like http_proxy or HTTP_PROXY. On web servers, it ignores HTTP_PROXY, because PHP puts the Proxy request header there (the httpoxy issue). On the CLI SAPI, it read HTTP_PROXY from $_SERVER, where PHP also puts the environment.\n\nHTTP workers that run under the CLI SAPI put the headers of each request in $_SERVER too. This is the case of spiral/roadrunner-http, which the RoadRunner runner of php-runtime uses, and of baldinof/roadrunner-bundle and php-pm. A client could then send a Proxy header to choose the proxy of the requests that the application sent while handling its request. That proxy received the full requests to http:// URLs, with their credentials, and could forge the responses. For https:// URLs, it learned the host and port through CONNECT.\n\nNativeHttpClient is affected since Symfony 4.3.0, AmpHttpClient since 5.1.0, and CurlHttpClient since 4.4.40, 5.4.7 and 6.0.7.\n\nOn the CLI SAPI, HTTP_PROXY is now read from the environment with $_ENV and getenv(), never from $_SERVER. Other SAPIs still ignore it."
          }
        ],
        "id": "CVE-2026-134792",
        "lastModified": "2026-11-25T10:17:14.733",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 8.3,
                "baseSeverity": "HIGH",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-25T10:17:14.733",
        "references": [
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/commit/3684fa9d43502edbd70406bdc94eae2d1aac5c97"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/security/advisories/GHSA-cjfx-x9pc-q4rx"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://symfony.com/cve-2026-134792"
          }
        ],
        "sourceIdentifier": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-15"
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…