Search
Find a vulnerability
Search criteria
8 vulnerabilities found for symfony/http-client by Symfony
CVE-2026-134792 (GCVE-0-2026-134792)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
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.
Severity
CWE
- CWE-15 - External Control of System or Configuration Setting
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-134792 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/3684fa9… | patch |
Impacted products
2 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) |
|
| 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) |
Date Public
2026-11-25 09:36
{
"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"
}
CVE-2026-133758 (GCVE-0-2026-133758)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning
Summary
Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options.
When these defaults restrict TLS trust, the restriction is lost without any error. A client created with peer_fingerprint, a private cafile or a minimum crypto_method refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default proxy and max_redirects options were lost the same way. Since Symfony 8.1, DnsResolvingHttpClient is affected too.
This also applies to the default_options of FrameworkBundle, which configure the innermost client.
The decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again.
Severity
CWE
- CWE-295 - Improper Certificate Validation
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133758 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/40640dd… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-client |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Vincent Cassiau (CyberVanguard)"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:32.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, `NoPrivateNetworkHttpClient` prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options.\n\nWhen these defaults restrict TLS trust, the restriction is lost without any error. A client created with `peer_fingerprint`, a private `cafile` or a minimum `crypto_method` refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default `proxy` and `max_redirects` options were lost the same way. Since Symfony 8.1, `DnsResolvingHttpClient` is affected too.\n\nThis also applies to the `default_options` of FrameworkBundle, which configure the innermost client.\n\nThe decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again."
}
],
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options.\n\nWhen these defaults restrict TLS trust, the restriction is lost without any error. A client created with peer_fingerprint, a private cafile or a minimum crypto_method refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default proxy and max_redirects options were lost the same way. Since Symfony 8.1, DnsResolvingHttpClient is affected too.\n\nThis also applies to the default_options of FrameworkBundle, which configure the innermost client.\n\nThe decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-295",
"description": "CWE-295 Improper Certificate Validation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:17.480Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133758",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133758"
},
{
"name": "GHSA-p5hc-hv32-fgxg",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-p5hc-hv32-fgxg"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/40640dd0c312f267811e18e56cb0f9cb2feedeb9"
}
],
"source": {
"advisory": "GHSA-p5hc-hv32-fgxg",
"discovery": "UNKNOWN"
},
"title": "NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133758",
"datePublished": "2026-11-25T10:00:17.480Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:17.480Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133757 (GCVE-0-2026-133757)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects
Summary
Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the Authorization and Cookie headers it knows about. But the decorated client then added its own default options again. These include the auth_basic, auth_bearer and auth_ntlm credentials, and the Authorization and Cookie headers it was created with. Credentials set with withOptions() on the decorator came back the same way, since the decorator forwards them to the decorated client.
These credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn't send them. The decorator removed the ones passed to request(), but not auth_ntlm. Since Symfony 8.1, DnsResolvingHttpClient follows redirects the same way and is affected too.
With auth_ntlm, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.
On a redirect to another origin, the decorator now passes empty Authorization and Cookie headers and unsets the auth_basic, auth_bearer and auth_ntlm options. The decorated client then can't add its own. Decorators between NoPrivateNetworkHttpClient and the transport, like ScopingHttpClient or CachingHttpClient, can't add theirs either.
Severity
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133757 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/afcb6b3… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-client |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Vincent Cassiau (CyberVanguard)"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
},
{
"lang": "en",
"type": "finder",
"value": "Jack Worman"
},
{
"lang": "en",
"type": "finder",
"value": "Amimul Ihsan"
}
],
"datePublic": "2026-11-25T09:36:29.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, `NoPrivateNetworkHttpClient` follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the `Authorization` and `Cookie` headers it knows about. But the decorated client then added its own default options again. These include the `auth_basic`, `auth_bearer` and `auth_ntlm` credentials, and the `Authorization` and `Cookie` headers it was created with. Credentials set with `withOptions()` on the decorator came back the same way, since the decorator forwards them to the decorated client.\n\nThese credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn\u0027t send them. The decorator removed the ones passed to `request()`, but not `auth_ntlm`. Since Symfony 8.1, `DnsResolvingHttpClient` follows redirects the same way and is affected too.\n\nWith `auth_ntlm`, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.\n\nOn a redirect to another origin, the decorator now passes empty `Authorization` and `Cookie` headers and unsets the `auth_basic`, `auth_bearer` and `auth_ntlm` options. The decorated client then can\u0027t add its own. Decorators between `NoPrivateNetworkHttpClient` and the transport, like `ScopingHttpClient` or `CachingHttpClient`, can\u0027t add theirs either."
}
],
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the Authorization and Cookie headers it knows about. But the decorated client then added its own default options again. These include the auth_basic, auth_bearer and auth_ntlm credentials, and the Authorization and Cookie headers it was created with. Credentials set with withOptions() on the decorator came back the same way, since the decorator forwards them to the decorated client.\n\nThese credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn\u0027t send them. The decorator removed the ones passed to request(), but not auth_ntlm. Since Symfony 8.1, DnsResolvingHttpClient follows redirects the same way and is affected too.\n\nWith auth_ntlm, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.\n\nOn a redirect to another origin, the decorator now passes empty Authorization and Cookie headers and unsets the auth_basic, auth_bearer and auth_ntlm options. The decorated client then can\u0027t add its own. Decorators between NoPrivateNetworkHttpClient and the transport, like ScopingHttpClient or CachingHttpClient, can\u0027t add theirs either."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 8.2,
"baseSeverity": "HIGH",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-200",
"description": "CWE-200 Exposure of Sensitive Information to an Unauthorized Actor",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-522",
"description": "CWE-522 Insufficiently Protected Credentials",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:16.575Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133757",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133757"
},
{
"name": "GHSA-v6qm-94rx-6x93",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-v6qm-94rx-6x93"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/afcb6b3edbb86cb104d5e0d229b9a717e4d7a044"
}
],
"source": {
"advisory": "GHSA-v6qm-94rx-6x93",
"discovery": "UNKNOWN"
},
"title": "NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133757",
"datePublished": "2026-11-25T10:00:16.575Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:16.575Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133750 (GCVE-0-2026-133750)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()
Summary
Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn't see them. They're missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users:
$client->withOptions(['auth_bearer' => $aliceToken])->request('GET', 'https://api.example.com/me'); // Alice's profile
$client->withOptions(['auth_bearer' => $bobToken])->request('GET', 'https://api.example.com/me'); // Alice's profile, from the cache
Applications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren't affected.
Most other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body.
CachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only.
Client certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don't get the responses of each other anymore.
Severity
CWE
- CWE-524 - Use of Cache Containing Sensitive Information
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133750 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/e9b64eb… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-client |
Affected:
7.4.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
7.4.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"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": "7.4.24",
"status": "affected",
"version": "7.4.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": "7.4.24",
"status": "affected",
"version": "7.4.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:10.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.4, `CachingHttpClient` can cache the responses of HTTP clients, for example when `caching` is enabled in `framework.http_client`. Its `withOptions()` method passes the options to the decorated client only. So credentials set with `withOptions()`, like `auth_bearer`, `auth_basic`, an `Authorization` header or a `Cookie` header, reach the server, but `CachingHttpClient` doesn\u0027t see them. They\u0027re missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an `Authorization` header. A cacheable response fetched for one user is then served to the next users:\n\n```php\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $aliceToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $bobToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile, from the cache\n```\n\nApplications are affected when they enable caching on a client, set per-user credentials with `withOptions()`, and request URLs whose responses are cacheable. Credentials passed to `request()` aren\u0027t affected.\n\nMost other options set with `withOptions()` were ignored too when caching was enabled, because `CachingHttpClient` forwarded each request with its own defaults. This includes `max_redirects`, `proxy`, `peer_fingerprint`, `local_cert`, `timeout`, `on_progress` and `body`.\n\n`CachingHttpClient::withOptions()` now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like `max_retries`, are still passed to them only.\n\nClient certificates, proxies and `auth_ntlm` are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don\u0027t get the responses of each other anymore."
}
],
"value": "Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn\u0027t see them. They\u0027re missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users:\n\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $aliceToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $bobToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile, from the cache\n\nApplications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren\u0027t affected.\n\nMost other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body.\n\nCachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only.\n\nClient certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don\u0027t get the responses of each other anymore."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-524",
"description": "CWE-524 Use of Cache Containing Sensitive Information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:10.484Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133750",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133750"
},
{
"name": "GHSA-28vh-p99h-pqc7",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-28vh-p99h-pqc7"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/e9b64eb3a3ddba6ac7b98e31e9f601235660730f"
}
],
"source": {
"advisory": "GHSA-28vh-p99h-pqc7",
"discovery": "UNKNOWN"
},
"title": "CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133750",
"datePublished": "2026-11-25T10:00:10.484Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:00:10.484Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-134792 (GCVE-0-2026-134792)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
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.
Severity
CWE
- CWE-15 - External Control of System or Configuration Setting
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-134792 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/3684fa9… | patch |
Impacted products
2 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) |
|
| 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) |
Date Public
2026-11-25 09:36
{
"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"
}
CVE-2026-133758 (GCVE-0-2026-133758)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning
Summary
Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options.
When these defaults restrict TLS trust, the restriction is lost without any error. A client created with peer_fingerprint, a private cafile or a minimum crypto_method refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default proxy and max_redirects options were lost the same way. Since Symfony 8.1, DnsResolvingHttpClient is affected too.
This also applies to the default_options of FrameworkBundle, which configure the innermost client.
The decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again.
Severity
CWE
- CWE-295 - Improper Certificate Validation
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133758 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/40640dd… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-client |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Vincent Cassiau (CyberVanguard)"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:32.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, `NoPrivateNetworkHttpClient` prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options.\n\nWhen these defaults restrict TLS trust, the restriction is lost without any error. A client created with `peer_fingerprint`, a private `cafile` or a minimum `crypto_method` refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default `proxy` and `max_redirects` options were lost the same way. Since Symfony 8.1, `DnsResolvingHttpClient` is affected too.\n\nThis also applies to the `default_options` of FrameworkBundle, which configure the innermost client.\n\nThe decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again."
}
],
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient prepares each request with the default options of the library. The decorator then passes all these options to the decorated client. Every option is then already set, so that client ignores its own default options.\n\nWhen these defaults restrict TLS trust, the restriction is lost without any error. A client created with peer_fingerprint, a private cafile or a minimum crypto_method refuses a server on its own. Once decorated, the same client connects to that server. Someone on the network path with a certificate that the system trust store accepts can then read and answer the requests. Default proxy and max_redirects options were lost the same way. Since Symfony 8.1, DnsResolvingHttpClient is affected too.\n\nThis also applies to the default_options of FrameworkBundle, which configure the innermost client.\n\nThe decorator now passes the options given to it, plus the ones it manages itself. The decorated client then applies its own default options again."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-295",
"description": "CWE-295 Improper Certificate Validation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:17.480Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133758",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133758"
},
{
"name": "GHSA-p5hc-hv32-fgxg",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-p5hc-hv32-fgxg"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/40640dd0c312f267811e18e56cb0f9cb2feedeb9"
}
],
"source": {
"advisory": "GHSA-p5hc-hv32-fgxg",
"discovery": "UNKNOWN"
},
"title": "NoPrivateNetworkHttpClient Makes the Client It Decorates Ignore Its Own Default Options, Like Certificate Pinning",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133758",
"datePublished": "2026-11-25T10:00:17.480Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:17.480Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133757 (GCVE-0-2026-133757)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects
Summary
Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the Authorization and Cookie headers it knows about. But the decorated client then added its own default options again. These include the auth_basic, auth_bearer and auth_ntlm credentials, and the Authorization and Cookie headers it was created with. Credentials set with withOptions() on the decorator came back the same way, since the decorator forwards them to the decorated client.
These credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn't send them. The decorator removed the ones passed to request(), but not auth_ntlm. Since Symfony 8.1, DnsResolvingHttpClient follows redirects the same way and is affected too.
With auth_ntlm, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.
On a redirect to another origin, the decorator now passes empty Authorization and Cookie headers and unsets the auth_basic, auth_bearer and auth_ntlm options. The decorated client then can't add its own. Decorators between NoPrivateNetworkHttpClient and the transport, like ScopingHttpClient or CachingHttpClient, can't add theirs either.
Severity
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133757 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/afcb6b3… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-client |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.48 , < 5.4.57
(semver)
Affected: 6.4.16 , < 6.4.51 (semver) Affected: 7.1.9 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"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": "5.4.48",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.16",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.9",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Vincent Cassiau (CyberVanguard)"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
},
{
"lang": "en",
"type": "finder",
"value": "Jack Worman"
},
{
"lang": "en",
"type": "finder",
"value": "Amimul Ihsan"
}
],
"datePublic": "2026-11-25T09:36:29.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, `NoPrivateNetworkHttpClient` follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the `Authorization` and `Cookie` headers it knows about. But the decorated client then added its own default options again. These include the `auth_basic`, `auth_bearer` and `auth_ntlm` credentials, and the `Authorization` and `Cookie` headers it was created with. Credentials set with `withOptions()` on the decorator came back the same way, since the decorator forwards them to the decorated client.\n\nThese credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn\u0027t send them. The decorator removed the ones passed to `request()`, but not `auth_ntlm`. Since Symfony 8.1, `DnsResolvingHttpClient` follows redirects the same way and is affected too.\n\nWith `auth_ntlm`, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.\n\nOn a redirect to another origin, the decorator now passes empty `Authorization` and `Cookie` headers and unsets the `auth_basic`, `auth_bearer` and `auth_ntlm` options. The decorated client then can\u0027t add its own. Decorators between `NoPrivateNetworkHttpClient` and the transport, like `ScopingHttpClient` or `CachingHttpClient`, can\u0027t add theirs either."
}
],
"value": "Since Symfony 5.4.48, 6.4.16, 7.1.9 and 7.2.0, NoPrivateNetworkHttpClient follows redirects itself, and sends each hop as a new request through the client it decorates. Before a redirect to another origin, it removes the Authorization and Cookie headers it knows about. But the decorated client then added its own default options again. These include the auth_basic, auth_bearer and auth_ntlm credentials, and the Authorization and Cookie headers it was created with. Credentials set with withOptions() on the decorator came back the same way, since the decorator forwards them to the decorated client.\n\nThese credentials were then sent to any origin that a response redirected to, for example through an open redirect on the server the application calls. The decorated client alone doesn\u0027t send them. The decorator removed the ones passed to request(), but not auth_ntlm. Since Symfony 8.1, DnsResolvingHttpClient follows redirects the same way and is affected too.\n\nWith auth_ntlm, curl started the NTLM handshake with the other origin, which could answer with a challenge to get the NTLM response of the application.\n\nOn a redirect to another origin, the decorator now passes empty Authorization and Cookie headers and unsets the auth_basic, auth_bearer and auth_ntlm options. The decorated client then can\u0027t add its own. Decorators between NoPrivateNetworkHttpClient and the transport, like ScopingHttpClient or CachingHttpClient, can\u0027t add theirs either."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 8.2,
"baseSeverity": "HIGH",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-200",
"description": "CWE-200 Exposure of Sensitive Information to an Unauthorized Actor",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-522",
"description": "CWE-522 Insufficiently Protected Credentials",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:16.575Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133757",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133757"
},
{
"name": "GHSA-v6qm-94rx-6x93",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-v6qm-94rx-6x93"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/afcb6b3edbb86cb104d5e0d229b9a717e4d7a044"
}
],
"source": {
"advisory": "GHSA-v6qm-94rx-6x93",
"discovery": "UNKNOWN"
},
"title": "NoPrivateNetworkHttpClient Sends the Default Credentials of the Client It Decorates to Other Origins on Redirects",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133757",
"datePublished": "2026-11-25T10:00:16.575Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:16.575Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133750 (GCVE-0-2026-133750)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()
Summary
Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn't see them. They're missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users:
$client->withOptions(['auth_bearer' => $aliceToken])->request('GET', 'https://api.example.com/me'); // Alice's profile
$client->withOptions(['auth_bearer' => $bobToken])->request('GET', 'https://api.example.com/me'); // Alice's profile, from the cache
Applications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren't affected.
Most other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body.
CachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only.
Client certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don't get the responses of each other anymore.
Severity
CWE
- CWE-524 - Use of Cache Containing Sensitive Information
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133750 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/e9b64eb… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-client |
Affected:
7.4.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
7.4.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"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": "7.4.24",
"status": "affected",
"version": "7.4.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": "7.4.24",
"status": "affected",
"version": "7.4.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:10.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.4, `CachingHttpClient` can cache the responses of HTTP clients, for example when `caching` is enabled in `framework.http_client`. Its `withOptions()` method passes the options to the decorated client only. So credentials set with `withOptions()`, like `auth_bearer`, `auth_basic`, an `Authorization` header or a `Cookie` header, reach the server, but `CachingHttpClient` doesn\u0027t see them. They\u0027re missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an `Authorization` header. A cacheable response fetched for one user is then served to the next users:\n\n```php\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $aliceToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $bobToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile, from the cache\n```\n\nApplications are affected when they enable caching on a client, set per-user credentials with `withOptions()`, and request URLs whose responses are cacheable. Credentials passed to `request()` aren\u0027t affected.\n\nMost other options set with `withOptions()` were ignored too when caching was enabled, because `CachingHttpClient` forwarded each request with its own defaults. This includes `max_redirects`, `proxy`, `peer_fingerprint`, `local_cert`, `timeout`, `on_progress` and `body`.\n\n`CachingHttpClient::withOptions()` now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like `max_retries`, are still passed to them only.\n\nClient certificates, proxies and `auth_ntlm` are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don\u0027t get the responses of each other anymore."
}
],
"value": "Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with withOptions(), like auth_bearer, auth_basic, an Authorization header or a Cookie header, reach the server, but CachingHttpClient doesn\u0027t see them. They\u0027re missing from the cache key. They also miss the rule that keeps a shared cache from storing the responses to requests with an Authorization header. A cacheable response fetched for one user is then served to the next users:\n\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $aliceToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile\n$client-\u003ewithOptions([\u0027auth_bearer\u0027 =\u003e $bobToken])-\u003erequest(\u0027GET\u0027, \u0027https://api.example.com/me\u0027); // Alice\u0027s profile, from the cache\n\nApplications are affected when they enable caching on a client, set per-user credentials with withOptions(), and request URLs whose responses are cacheable. Credentials passed to request() aren\u0027t affected.\n\nMost other options set with withOptions() were ignored too when caching was enabled, because CachingHttpClient forwarded each request with its own defaults. This includes max_redirects, proxy, peer_fingerprint, local_cert, timeout, on_progress and body.\n\nCachingHttpClient::withOptions() now also merges the standard options into its own default options. The cache key, the rules of shared caches and the requests it forwards take them into account. Options that only decorated clients know, like max_retries, are still passed to them only.\n\nClient certificates, proxies and auth_ntlm are now part of the cache key too. When several HTTP clients of FrameworkBundle use the same cache pool, each client gets its own namespace in that pool. So clients with different custom headers don\u0027t get the responses of each other anymore."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-524",
"description": "CWE-524 Use of Cache Containing Sensitive Information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:10.484Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133750",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133750"
},
{
"name": "GHSA-28vh-p99h-pqc7",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-28vh-p99h-pqc7"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/e9b64eb3a3ddba6ac7b98e31e9f601235660730f"
}
],
"source": {
"advisory": "GHSA-28vh-p99h-pqc7",
"discovery": "UNKNOWN"
},
"title": "CachingHttpClient Shares Responses Between Users When Credentials Are Set With withOptions()",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133750",
"datePublished": "2026-11-25T10:00:10.484Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:00:10.484Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}