Search
Find a vulnerability
Search criteria
6 vulnerabilities found for symfony/http-foundation by Symfony
CVE-2026-133748 (GCVE-0-2026-133748)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through
Summary
NoPrivateNetworkHttpClient accepts a list of subnets to block instead of its default one. When that list contains an IPv6 entry, the client lets IpUtils::checkIp() decide for every address. Before Symfony 6.4.50, 7.4.23 and 8.1.11, checkIp() didn't match an IPv4-mapped address like ::ffff:127.0.0.1 against IPv4 subnets. Such an address connects to the IPv4 host it embeds. So http://[::ffff:127.0.0.1]/, or a host name whose AAAA record contains a mapped address, reaches a blocked IPv4 host:
$client = new NoPrivateNetworkHttpClient(HttpClient::create(), ['10.0.0.0/8', '127.0.0.0/8', '192.168.0.0/16', 'fc00::/7', '::1/128']);
$client->request('GET', 'http://127.0.0.1/'); // blocked
$client->request('GET', 'http://[::ffff:127.0.0.1]/'); // sent to 127.0.0.1
The default list is not affected, since it contains ::ffff:0:0/96.
IpUtils::checkIp() now checks an IPv4-mapped address against IPv4 subnets as the IPv4 host it embeds. Symfony 6.4.50, 7.4.23 and 8.1.11 already do so since the fix for GHSA-xg2q-4rrq-657q, and 5.4 now does too.
The fix is in symfony/http-foundation, so updating symfony/http-client alone isn't enough. On 5.4, trusted proxies and the ips of request matchers now also match IPv4-mapped addresses through IPv4 ranges, as on 6.4 and up. NoPrivateNetworkHttpClient also blocks IPv4-mapped addresses when its custom subnets have no IPv4 entry, since such lists block every IPv4 host.
Severity
CWE
- CWE-918 - Server-Side Request Forgery
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133748 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/f529db3… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-foundation |
Affected:
0 , < 5.4.57
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
|
| Symfony | symfony/symfony |
Affected:
0 , < 5.4.57
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/http-foundation",
"product": "symfony/http-foundation",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"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": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:04.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "`NoPrivateNetworkHttpClient` accepts a list of subnets to block instead of its default one. When that list contains an IPv6 entry, the client lets `IpUtils::checkIp()` decide for every address. Before Symfony 6.4.50, 7.4.23 and 8.1.11, `checkIp()` didn\u0027t match an IPv4-mapped address like `::ffff:127.0.0.1` against IPv4 subnets. Such an address connects to the IPv4 host it embeds. So `http://[::ffff:127.0.0.1]/`, or a host name whose AAAA record contains a mapped address, reaches a blocked IPv4 host:\n\n```php\n$client = new NoPrivateNetworkHttpClient(HttpClient::create(), [\u002710.0.0.0/8\u0027, \u0027127.0.0.0/8\u0027, \u0027192.168.0.0/16\u0027, \u0027fc00::/7\u0027, \u0027::1/128\u0027]);\n$client-\u003erequest(\u0027GET\u0027, \u0027http://127.0.0.1/\u0027); // blocked\n$client-\u003erequest(\u0027GET\u0027, \u0027http://[::ffff:127.0.0.1]/\u0027); // sent to 127.0.0.1\n```\n\nThe default list is not affected, since it contains `::ffff:0:0/96`.\n\n`IpUtils::checkIp()` now checks an IPv4-mapped address against IPv4 subnets as the IPv4 host it embeds. Symfony 6.4.50, 7.4.23 and 8.1.11 already do so since the fix for GHSA-xg2q-4rrq-657q, and 5.4 now does too.\n\nThe fix is in symfony/http-foundation, so updating symfony/http-client alone isn\u0027t enough. On 5.4, trusted proxies and the `ips` of request matchers now also match IPv4-mapped addresses through IPv4 ranges, as on 6.4 and up. `NoPrivateNetworkHttpClient` also blocks IPv4-mapped addresses when its custom subnets have no IPv4 entry, since such lists block every IPv4 host."
}
],
"value": "NoPrivateNetworkHttpClient accepts a list of subnets to block instead of its default one. When that list contains an IPv6 entry, the client lets IpUtils::checkIp() decide for every address. Before Symfony 6.4.50, 7.4.23 and 8.1.11, checkIp() didn\u0027t match an IPv4-mapped address like ::ffff:127.0.0.1 against IPv4 subnets. Such an address connects to the IPv4 host it embeds. So http://[::ffff:127.0.0.1]/, or a host name whose AAAA record contains a mapped address, reaches a blocked IPv4 host:\n\n$client = new NoPrivateNetworkHttpClient(HttpClient::create(), [\u002710.0.0.0/8\u0027, \u0027127.0.0.0/8\u0027, \u0027192.168.0.0/16\u0027, \u0027fc00::/7\u0027, \u0027::1/128\u0027]);\n$client-\u003erequest(\u0027GET\u0027, \u0027http://127.0.0.1/\u0027); // blocked\n$client-\u003erequest(\u0027GET\u0027, \u0027http://[::ffff:127.0.0.1]/\u0027); // sent to 127.0.0.1\n\nThe default list is not affected, since it contains ::ffff:0:0/96.\n\nIpUtils::checkIp() now checks an IPv4-mapped address against IPv4 subnets as the IPv4 host it embeds. Symfony 6.4.50, 7.4.23 and 8.1.11 already do so since the fix for GHSA-xg2q-4rrq-657q, and 5.4 now does too.\n\nThe fix is in symfony/http-foundation, so updating symfony/http-client alone isn\u0027t enough. On 5.4, trusted proxies and the ips of request matchers now also match IPv4-mapped addresses through IPv4 ranges, as on 6.4 and up. NoPrivateNetworkHttpClient also blocks IPv4-mapped addresses when its custom subnets have no IPv4 entry, since such lists block every IPv4 host."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-918",
"description": "CWE-918 Server-Side Request Forgery",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:08.485Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133748",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133748"
},
{
"name": "GHSA-4q4p-2q78-phfx",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-4q4p-2q78-phfx"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/f529db3745bab2a657e38ec97982a0ae95f084c2"
}
],
"source": {
"advisory": "GHSA-4q4p-2q78-phfx",
"discovery": "UNKNOWN"
},
"title": "NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133748",
"datePublished": "2026-11-25T10:00:08.485Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:00:08.485Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-135802 (GCVE-0-2026-135802)
Vulnerability from nvd – Published: 2026-11-24 08:55 – Updated: 2026-11-24 08:55
VLAI
EPSS
VEX
Title
Generated URLs Can Point to a Host Chosen by the Client
Summary
When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with // or /\ made the base URL start with a host.
With SCRIPT_NAME=/public/index.php, a request for //evil.example/public/index.php/login is routed to /login, with the base URL //evil.example/public/index.php and the base path //evil.example/public. The URLs generated for that page then point to evil.example:
- links built with path() and the actions of forms, so a login form sends the credentials of the user to evil.example;
- redirects to generated URLs, such as the ones of redirectToRoute();
- assets referenced with a relative path through asset(), so the page can load scripts from evil.example.
The attacker has to make a user follow a crafted link, such as https://app.example//evil.example/public/index.php/login. framework.trusted_hosts does not help, since the host of the request is the real one.
Applications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A .htaccess file at the root of the project that rewrites every URL to public/ does that, for instance.
Applications are also affected when the web server sets SCRIPT_NAME to the path of the request. Some nginx configurations do that when they send every request to the front controller without fastcgi_split_path_info. php -S does it too, with a router script outside the document root. A request for /\evil.example/index.php then gets the base URL /\evil.example/index.php, which browsers read as a link to evil.example.
The configurations recommended in the Symfony documentation are not affected.
Request::getBaseUrl() now returns an empty base URL when the request URI starts with // or /\.
Severity
No CVSS data available.
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-135802 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/7f1e183… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-foundation |
Affected:
0 , < 5.4.56
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
|
| Symfony | symfony/symfony |
Affected:
0 , < 5.4.56
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
Date Public
2026-11-04 11:43
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/http-foundation",
"product": "symfony/http-foundation",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.56",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"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.56",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-04T11:43:26.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "When `Request::getBaseUrl()` does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with `//` or `/\\` made the base URL start with a host.\n\nWith `SCRIPT_NAME=/public/index.php`, a request for `//evil.example/public/index.php/login` is routed to `/login`, with the base URL `//evil.example/public/index.php` and the base path `//evil.example/public`. The URLs generated for that page then point to evil.example:\n\n- links built with `path()` and the actions of forms, so a login form sends the credentials of the user to evil.example;\n- redirects to generated URLs, such as the ones of `redirectToRoute()`;\n- assets referenced with a relative path through `asset()`, so the page can load scripts from evil.example.\n\nThe attacker has to make a user follow a crafted link, such as `https://app.example//evil.example/public/index.php/login`. `framework.trusted_hosts` does not help, since the host of the request is the real one.\n\nApplications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A `.htaccess` file at the root of the project that rewrites every URL to `public/` does that, for instance.\n\nApplications are also affected when the web server sets `SCRIPT_NAME` to the path of the request. Some nginx configurations do that when they send every request to the front controller without `fastcgi_split_path_info`. `php -S` does it too, with a router script outside the document root. A request for `/\\evil.example/index.php` then gets the base URL `/\\evil.example/index.php`, which browsers read as a link to evil.example.\n\nThe configurations recommended in the Symfony documentation are not affected.\n\n`Request::getBaseUrl()` now returns an empty base URL when the request URI starts with `//` or `/\\`."
}
],
"value": "When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with // or /\\ made the base URL start with a host.\n\nWith SCRIPT_NAME=/public/index.php, a request for //evil.example/public/index.php/login is routed to /login, with the base URL //evil.example/public/index.php and the base path //evil.example/public. The URLs generated for that page then point to evil.example:\n- links built with path() and the actions of forms, so a login form sends the credentials of the user to evil.example;\n- redirects to generated URLs, such as the ones of redirectToRoute();\n- assets referenced with a relative path through asset(), so the page can load scripts from evil.example.\n\nThe attacker has to make a user follow a crafted link, such as https://app.example//evil.example/public/index.php/login. framework.trusted_hosts does not help, since the host of the request is the real one.\n\nApplications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A .htaccess file at the root of the project that rewrites every URL to public/ does that, for instance.\n\nApplications are also affected when the web server sets SCRIPT_NAME to the path of the request. Some nginx configurations do that when they send every request to the front controller without fastcgi_split_path_info. php -S does it too, with a router script outside the document root. A request for /\\evil.example/index.php then gets the base URL /\\evil.example/index.php, which browsers read as a link to evil.example.\n\nThe configurations recommended in the Symfony documentation are not affected.\n\nRequest::getBaseUrl() now returns an empty base URL when the request URI starts with // or /\\."
}
],
"metrics": [
{
"other": {
"content": {
"text": "medium"
},
"type": "Textual description of severity"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "CWE-601 URL Redirection to Untrusted Site",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-829",
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:55:16.072Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-135802",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-135802"
},
{
"name": "GHSA-5mx8-mwrp-5693",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-5mx8-mwrp-5693"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/7f1e183847530b7bc1bfbdae63e3f0e20051594b"
}
],
"source": {
"advisory": "GHSA-5mx8-mwrp-5693",
"discovery": "UNKNOWN"
},
"title": "Generated URLs Can Point to a Host Chosen by the Client",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-135802",
"datePublished": "2026-11-24T08:55:16.072Z",
"dateReserved": "2026-11-24T08:54:00.510Z",
"dateUpdated": "2026-11-24T08:55:16.072Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-135801 (GCVE-0-2026-135801)
Vulnerability from nvd – Published: 2026-11-24 08:55 – Updated: 2026-11-24 08:55
VLAI
EPSS
VEX
Title
Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name
Summary
Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin gets the path info /admin and is routed like /admin. Encoded spellings such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Before that fix, the path info was admin, which no route matched.
Rules enforced by Symfony are not affected: access_control and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the .htaccess file of symfony/apache-pack make /index.php/admin unreachable, but they pass /index.phpadmin to the front controller. So a location /admin block in nginx, a <Location /admin> section in Apache, or a CDN or WAF rule on /admin can be bypassed.
The script name is now stripped only when it is followed by /, ? or the end of the URL. A request to /index.phpadmin gets the path info /index.phpadmin.
Severity
No CVSS data available.
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-135801 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/e256536… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-foundation |
Affected:
5.4.50 , < 5.4.56
(semver)
Affected: 6.4.29 , < 6.4.50 (semver) Affected: 7.3.7 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.50 , < 5.4.56
(semver)
Affected: 6.4.29 , < 6.4.50 (semver) Affected: 7.3.7 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
Date Public
2026-11-04 11:43
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/http-foundation",
"product": "symfony/http-foundation",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.56",
"status": "affected",
"version": "5.4.50",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.4.29",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.3.7",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"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.56",
"status": "affected",
"version": "5.4.50",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.4.29",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.3.7",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Jack Worman"
},
{
"lang": "en",
"type": "reporter",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-04T11:43:32.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since the fix for CVE-2025-64500, `Request::getPathInfo()` strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With `SCRIPT_NAME` set to `/index.php`, a request to `/index.phpadmin` gets the path info `/admin` and is routed like `/admin`. Encoded spellings such as `/index%2Ephpadmin` or `/%69ndex.phpadmin` work too. Before that fix, the path info was `admin`, which no route matched.\n\nRules enforced by Symfony are not affected: `access_control` and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the `.htaccess` file of `symfony/apache-pack` make `/index.php/admin` unreachable, but they pass `/index.phpadmin` to the front controller. So a `location /admin` block in nginx, a `\u003cLocation /admin\u003e` section in Apache, or a CDN or WAF rule on `/admin` can be bypassed.\n\nThe script name is now stripped only when it is followed by `/`, `?` or the end of the URL. A request to `/index.phpadmin` gets the path info `/index.phpadmin`."
}
],
"value": "Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin gets the path info /admin and is routed like /admin. Encoded spellings such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Before that fix, the path info was admin, which no route matched.\n\nRules enforced by Symfony are not affected: access_control and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the .htaccess file of symfony/apache-pack make /index.php/admin unreachable, but they pass /index.phpadmin to the front controller. So a location /admin block in nginx, a \u003cLocation /admin\u003e section in Apache, or a CDN or WAF rule on /admin can be bypassed.\n\nThe script name is now stripped only when it is followed by /, ? or the end of the URL. A request to /index.phpadmin gets the path info /index.phpadmin."
}
],
"metrics": [
{
"other": {
"content": {
"text": "low"
},
"type": "Textual description of severity"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-288",
"description": "CWE-288 Authentication Bypass Using an Alternate Path or Channel",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-436",
"description": "CWE-436 Interpretation Conflict",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:55:15.124Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-135801",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-135801"
},
{
"name": "GHSA-3h27-hjv7-fqjx",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122"
}
],
"source": {
"advisory": "GHSA-3h27-hjv7-fqjx",
"discovery": "UNKNOWN"
},
"title": "Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-135801",
"datePublished": "2026-11-24T08:55:15.124Z",
"dateReserved": "2026-11-24T08:54:00.510Z",
"dateUpdated": "2026-11-24T08:55:15.124Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133748 (GCVE-0-2026-133748)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through
Summary
NoPrivateNetworkHttpClient accepts a list of subnets to block instead of its default one. When that list contains an IPv6 entry, the client lets IpUtils::checkIp() decide for every address. Before Symfony 6.4.50, 7.4.23 and 8.1.11, checkIp() didn't match an IPv4-mapped address like ::ffff:127.0.0.1 against IPv4 subnets. Such an address connects to the IPv4 host it embeds. So http://[::ffff:127.0.0.1]/, or a host name whose AAAA record contains a mapped address, reaches a blocked IPv4 host:
$client = new NoPrivateNetworkHttpClient(HttpClient::create(), ['10.0.0.0/8', '127.0.0.0/8', '192.168.0.0/16', 'fc00::/7', '::1/128']);
$client->request('GET', 'http://127.0.0.1/'); // blocked
$client->request('GET', 'http://[::ffff:127.0.0.1]/'); // sent to 127.0.0.1
The default list is not affected, since it contains ::ffff:0:0/96.
IpUtils::checkIp() now checks an IPv4-mapped address against IPv4 subnets as the IPv4 host it embeds. Symfony 6.4.50, 7.4.23 and 8.1.11 already do so since the fix for GHSA-xg2q-4rrq-657q, and 5.4 now does too.
The fix is in symfony/http-foundation, so updating symfony/http-client alone isn't enough. On 5.4, trusted proxies and the ips of request matchers now also match IPv4-mapped addresses through IPv4 ranges, as on 6.4 and up. NoPrivateNetworkHttpClient also blocks IPv4-mapped addresses when its custom subnets have no IPv4 entry, since such lists block every IPv4 host.
Severity
CWE
- CWE-918 - Server-Side Request Forgery
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133748 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/f529db3… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-foundation |
Affected:
0 , < 5.4.57
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
|
| Symfony | symfony/symfony |
Affected:
0 , < 5.4.57
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/http-foundation",
"product": "symfony/http-foundation",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"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": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:04.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "`NoPrivateNetworkHttpClient` accepts a list of subnets to block instead of its default one. When that list contains an IPv6 entry, the client lets `IpUtils::checkIp()` decide for every address. Before Symfony 6.4.50, 7.4.23 and 8.1.11, `checkIp()` didn\u0027t match an IPv4-mapped address like `::ffff:127.0.0.1` against IPv4 subnets. Such an address connects to the IPv4 host it embeds. So `http://[::ffff:127.0.0.1]/`, or a host name whose AAAA record contains a mapped address, reaches a blocked IPv4 host:\n\n```php\n$client = new NoPrivateNetworkHttpClient(HttpClient::create(), [\u002710.0.0.0/8\u0027, \u0027127.0.0.0/8\u0027, \u0027192.168.0.0/16\u0027, \u0027fc00::/7\u0027, \u0027::1/128\u0027]);\n$client-\u003erequest(\u0027GET\u0027, \u0027http://127.0.0.1/\u0027); // blocked\n$client-\u003erequest(\u0027GET\u0027, \u0027http://[::ffff:127.0.0.1]/\u0027); // sent to 127.0.0.1\n```\n\nThe default list is not affected, since it contains `::ffff:0:0/96`.\n\n`IpUtils::checkIp()` now checks an IPv4-mapped address against IPv4 subnets as the IPv4 host it embeds. Symfony 6.4.50, 7.4.23 and 8.1.11 already do so since the fix for GHSA-xg2q-4rrq-657q, and 5.4 now does too.\n\nThe fix is in symfony/http-foundation, so updating symfony/http-client alone isn\u0027t enough. On 5.4, trusted proxies and the `ips` of request matchers now also match IPv4-mapped addresses through IPv4 ranges, as on 6.4 and up. `NoPrivateNetworkHttpClient` also blocks IPv4-mapped addresses when its custom subnets have no IPv4 entry, since such lists block every IPv4 host."
}
],
"value": "NoPrivateNetworkHttpClient accepts a list of subnets to block instead of its default one. When that list contains an IPv6 entry, the client lets IpUtils::checkIp() decide for every address. Before Symfony 6.4.50, 7.4.23 and 8.1.11, checkIp() didn\u0027t match an IPv4-mapped address like ::ffff:127.0.0.1 against IPv4 subnets. Such an address connects to the IPv4 host it embeds. So http://[::ffff:127.0.0.1]/, or a host name whose AAAA record contains a mapped address, reaches a blocked IPv4 host:\n\n$client = new NoPrivateNetworkHttpClient(HttpClient::create(), [\u002710.0.0.0/8\u0027, \u0027127.0.0.0/8\u0027, \u0027192.168.0.0/16\u0027, \u0027fc00::/7\u0027, \u0027::1/128\u0027]);\n$client-\u003erequest(\u0027GET\u0027, \u0027http://127.0.0.1/\u0027); // blocked\n$client-\u003erequest(\u0027GET\u0027, \u0027http://[::ffff:127.0.0.1]/\u0027); // sent to 127.0.0.1\n\nThe default list is not affected, since it contains ::ffff:0:0/96.\n\nIpUtils::checkIp() now checks an IPv4-mapped address against IPv4 subnets as the IPv4 host it embeds. Symfony 6.4.50, 7.4.23 and 8.1.11 already do so since the fix for GHSA-xg2q-4rrq-657q, and 5.4 now does too.\n\nThe fix is in symfony/http-foundation, so updating symfony/http-client alone isn\u0027t enough. On 5.4, trusted proxies and the ips of request matchers now also match IPv4-mapped addresses through IPv4 ranges, as on 6.4 and up. NoPrivateNetworkHttpClient also blocks IPv4-mapped addresses when its custom subnets have no IPv4 entry, since such lists block every IPv4 host."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-918",
"description": "CWE-918 Server-Side Request Forgery",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:08.485Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133748",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133748"
},
{
"name": "GHSA-4q4p-2q78-phfx",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-4q4p-2q78-phfx"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/f529db3745bab2a657e38ec97982a0ae95f084c2"
}
],
"source": {
"advisory": "GHSA-4q4p-2q78-phfx",
"discovery": "UNKNOWN"
},
"title": "NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133748",
"datePublished": "2026-11-25T10:00:08.485Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:00:08.485Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-135802 (GCVE-0-2026-135802)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:55 – Updated: 2026-11-24 08:55
VLAI
EPSS
VEX
Title
Generated URLs Can Point to a Host Chosen by the Client
Summary
When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with // or /\ made the base URL start with a host.
With SCRIPT_NAME=/public/index.php, a request for //evil.example/public/index.php/login is routed to /login, with the base URL //evil.example/public/index.php and the base path //evil.example/public. The URLs generated for that page then point to evil.example:
- links built with path() and the actions of forms, so a login form sends the credentials of the user to evil.example;
- redirects to generated URLs, such as the ones of redirectToRoute();
- assets referenced with a relative path through asset(), so the page can load scripts from evil.example.
The attacker has to make a user follow a crafted link, such as https://app.example//evil.example/public/index.php/login. framework.trusted_hosts does not help, since the host of the request is the real one.
Applications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A .htaccess file at the root of the project that rewrites every URL to public/ does that, for instance.
Applications are also affected when the web server sets SCRIPT_NAME to the path of the request. Some nginx configurations do that when they send every request to the front controller without fastcgi_split_path_info. php -S does it too, with a router script outside the document root. A request for /\evil.example/index.php then gets the base URL /\evil.example/index.php, which browsers read as a link to evil.example.
The configurations recommended in the Symfony documentation are not affected.
Request::getBaseUrl() now returns an empty base URL when the request URI starts with // or /\.
Severity
No CVSS data available.
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-135802 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/7f1e183… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-foundation |
Affected:
0 , < 5.4.56
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
|
| Symfony | symfony/symfony |
Affected:
0 , < 5.4.56
(semver)
Affected: 6.0.0 , < 6.4.50 (semver) Affected: 7.0.0 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
Date Public
2026-11-04 11:43
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/http-foundation",
"product": "symfony/http-foundation",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.56",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"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.56",
"status": "affected",
"version": "0",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-04T11:43:26.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "When `Request::getBaseUrl()` does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with `//` or `/\\` made the base URL start with a host.\n\nWith `SCRIPT_NAME=/public/index.php`, a request for `//evil.example/public/index.php/login` is routed to `/login`, with the base URL `//evil.example/public/index.php` and the base path `//evil.example/public`. The URLs generated for that page then point to evil.example:\n\n- links built with `path()` and the actions of forms, so a login form sends the credentials of the user to evil.example;\n- redirects to generated URLs, such as the ones of `redirectToRoute()`;\n- assets referenced with a relative path through `asset()`, so the page can load scripts from evil.example.\n\nThe attacker has to make a user follow a crafted link, such as `https://app.example//evil.example/public/index.php/login`. `framework.trusted_hosts` does not help, since the host of the request is the real one.\n\nApplications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A `.htaccess` file at the root of the project that rewrites every URL to `public/` does that, for instance.\n\nApplications are also affected when the web server sets `SCRIPT_NAME` to the path of the request. Some nginx configurations do that when they send every request to the front controller without `fastcgi_split_path_info`. `php -S` does it too, with a router script outside the document root. A request for `/\\evil.example/index.php` then gets the base URL `/\\evil.example/index.php`, which browsers read as a link to evil.example.\n\nThe configurations recommended in the Symfony documentation are not affected.\n\n`Request::getBaseUrl()` now returns an empty base URL when the request URI starts with `//` or `/\\`."
}
],
"value": "When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with // or /\\ made the base URL start with a host.\n\nWith SCRIPT_NAME=/public/index.php, a request for //evil.example/public/index.php/login is routed to /login, with the base URL //evil.example/public/index.php and the base path //evil.example/public. The URLs generated for that page then point to evil.example:\n- links built with path() and the actions of forms, so a login form sends the credentials of the user to evil.example;\n- redirects to generated URLs, such as the ones of redirectToRoute();\n- assets referenced with a relative path through asset(), so the page can load scripts from evil.example.\n\nThe attacker has to make a user follow a crafted link, such as https://app.example//evil.example/public/index.php/login. framework.trusted_hosts does not help, since the host of the request is the real one.\n\nApplications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A .htaccess file at the root of the project that rewrites every URL to public/ does that, for instance.\n\nApplications are also affected when the web server sets SCRIPT_NAME to the path of the request. Some nginx configurations do that when they send every request to the front controller without fastcgi_split_path_info. php -S does it too, with a router script outside the document root. A request for /\\evil.example/index.php then gets the base URL /\\evil.example/index.php, which browsers read as a link to evil.example.\n\nThe configurations recommended in the Symfony documentation are not affected.\n\nRequest::getBaseUrl() now returns an empty base URL when the request URI starts with // or /\\."
}
],
"metrics": [
{
"other": {
"content": {
"text": "medium"
},
"type": "Textual description of severity"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-601",
"description": "CWE-601 URL Redirection to Untrusted Site",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-829",
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:55:16.072Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-135802",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-135802"
},
{
"name": "GHSA-5mx8-mwrp-5693",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-5mx8-mwrp-5693"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/7f1e183847530b7bc1bfbdae63e3f0e20051594b"
}
],
"source": {
"advisory": "GHSA-5mx8-mwrp-5693",
"discovery": "UNKNOWN"
},
"title": "Generated URLs Can Point to a Host Chosen by the Client",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-135802",
"datePublished": "2026-11-24T08:55:16.072Z",
"dateReserved": "2026-11-24T08:54:00.510Z",
"dateUpdated": "2026-11-24T08:55:16.072Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-135801 (GCVE-0-2026-135801)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:55 – Updated: 2026-11-24 08:55
VLAI
EPSS
VEX
Title
Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name
Summary
Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin gets the path info /admin and is routed like /admin. Encoded spellings such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Before that fix, the path info was admin, which no route matched.
Rules enforced by Symfony are not affected: access_control and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the .htaccess file of symfony/apache-pack make /index.php/admin unreachable, but they pass /index.phpadmin to the front controller. So a location /admin block in nginx, a <Location /admin> section in Apache, or a CDN or WAF rule on /admin can be bypassed.
The script name is now stripped only when it is followed by /, ? or the end of the URL. A request to /index.phpadmin gets the path info /index.phpadmin.
Severity
No CVSS data available.
CWE
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-135801 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/e256536… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/http-foundation |
Affected:
5.4.50 , < 5.4.56
(semver)
Affected: 6.4.29 , < 6.4.50 (semver) Affected: 7.3.7 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.50 , < 5.4.56
(semver)
Affected: 6.4.29 , < 6.4.50 (semver) Affected: 7.3.7 , < 7.4.23 (semver) Affected: 8.0.0 , < 8.1.11 (semver) |
Date Public
2026-11-04 11:43
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/http-foundation",
"product": "symfony/http-foundation",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.56",
"status": "affected",
"version": "5.4.50",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.4.29",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.3.7",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"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.56",
"status": "affected",
"version": "5.4.50",
"versionType": "semver"
},
{
"lessThan": "6.4.50",
"status": "affected",
"version": "6.4.29",
"versionType": "semver"
},
{
"lessThan": "7.4.23",
"status": "affected",
"version": "7.3.7",
"versionType": "semver"
},
{
"lessThan": "8.1.11",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Jack Worman"
},
{
"lang": "en",
"type": "reporter",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-04T11:43:32.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since the fix for CVE-2025-64500, `Request::getPathInfo()` strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With `SCRIPT_NAME` set to `/index.php`, a request to `/index.phpadmin` gets the path info `/admin` and is routed like `/admin`. Encoded spellings such as `/index%2Ephpadmin` or `/%69ndex.phpadmin` work too. Before that fix, the path info was `admin`, which no route matched.\n\nRules enforced by Symfony are not affected: `access_control` and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the `.htaccess` file of `symfony/apache-pack` make `/index.php/admin` unreachable, but they pass `/index.phpadmin` to the front controller. So a `location /admin` block in nginx, a `\u003cLocation /admin\u003e` section in Apache, or a CDN or WAF rule on `/admin` can be bypassed.\n\nThe script name is now stripped only when it is followed by `/`, `?` or the end of the URL. A request to `/index.phpadmin` gets the path info `/index.phpadmin`."
}
],
"value": "Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin gets the path info /admin and is routed like /admin. Encoded spellings such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Before that fix, the path info was admin, which no route matched.\n\nRules enforced by Symfony are not affected: access_control and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the .htaccess file of symfony/apache-pack make /index.php/admin unreachable, but they pass /index.phpadmin to the front controller. So a location /admin block in nginx, a \u003cLocation /admin\u003e section in Apache, or a CDN or WAF rule on /admin can be bypassed.\n\nThe script name is now stripped only when it is followed by /, ? or the end of the URL. A request to /index.phpadmin gets the path info /index.phpadmin."
}
],
"metrics": [
{
"other": {
"content": {
"text": "low"
},
"type": "Textual description of severity"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-288",
"description": "CWE-288 Authentication Bypass Using an Alternate Path or Channel",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-436",
"description": "CWE-436 Interpretation Conflict",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:55:15.124Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-135801",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-135801"
},
{
"name": "GHSA-3h27-hjv7-fqjx",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122"
}
],
"source": {
"advisory": "GHSA-3h27-hjv7-fqjx",
"discovery": "UNKNOWN"
},
"title": "Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-135801",
"datePublished": "2026-11-24T08:55:15.124Z",
"dateReserved": "2026-11-24T08:54:00.510Z",
"dateUpdated": "2026-11-24T08:55:15.124Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}