Symfony Http Foundation
Monthly
Client-controlled base URL generation in Symfony's HttpFoundation component (Request::getBaseUrl()) lets a crafted request URI beginning with // or /\ make every URL the framework generates point at an attacker-chosen host. Applications are affected only under specific deployments: a front controller in a subdirectory receiving URIs that do not begin with that subdirectory (e.g. a project-root .htaccess rewriting to public/), an nginx setup that sets SCRIPT_NAME to the request path because fastcgi_split_path_info is not used, or php -S with a router script outside the document root. The attacker must convince a victim to follow a crafted link (user interaction is required, per the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), after which generated links and form actions can post credentials to the attacker host, redirectToRoute() can redirect off-site, and asset() can load attacker scripts; framework.trusted_hosts does not help because the request host stays legitimate. No public exploit code is identified at time of analysis, the Symfony-documented configurations are explicitly unaffected, and vendor patches exist for all supported branches.
Path-based access control bypass in Symfony HttpFoundation's Request::getPathInfo(): since the CVE-2025-64500 fix, the script name (/index.php) is stripped from the request URI even when it is merely the start of a longer segment, so a request to /index.phpadmin (or the encoded /index%2Ephpadmin, /%69ndex.phpadmin) yields path info /admin and is routed as /admin while front-of-PHP rules never match it. Affected are symfony/http-foundation and symfony/symfony in branches 5.4.50-5.4.55, 6.4.29-6.4.49, 7.3.7-7.4.22 and 8.0.0-8.1.10, but only where protection lives exclusively in front of PHP - an nginx location /admin block, an Apache <Location /admin> section, or a CDN/WAF rule on /admin; rules enforced by Symfony's own access_control and firewalls are not bypassable because they read the same post-strip path info as the router. No public exploit code has been identified at time of analysis and there is no KEV listing; EPSS is low at 0.21% (11th percentile), yet the practical priority is conditional rather than universal, since default-looking nginx documentation configs and symfony/apache-pack .htaccess still forward /index.phpadmin to the front controller. A vendor patch exists (5.4.56, 6.4.50, 7.4.23, 8.1.11) and updating is the complete fix.
Symfony's SSRF-protection client NoPrivateNetworkHttpClient can be bypassed with an IPv4-mapped IPv6 address such as ::ffff:127.0.0.1, so an outbound request that should be refused instead reaches the embedded private IPv4 host. Only deployments that construct the client with a custom subnet blocklist containing at least one IPv6 entry are affected; the shipped default list already contains ::ffff:0:0/96 and is not exploitable, and custom lists with no IPv4 entry are likewise safe because they block every IPv4 host. The flaw is remotely triggerable and unauthenticated (CVSS 4.0 vector shows PR:N) but requires the application to fetch attacker-influenced URLs or attacker-controlled hostnames, and it yields internal reachability rather than confirmed data disclosure; no public exploit code has been identified at time of analysis, and vendor patches exist for every affected branch.
Client-controlled base URL generation in Symfony's HttpFoundation component (Request::getBaseUrl()) lets a crafted request URI beginning with // or /\ make every URL the framework generates point at an attacker-chosen host. Applications are affected only under specific deployments: a front controller in a subdirectory receiving URIs that do not begin with that subdirectory (e.g. a project-root .htaccess rewriting to public/), an nginx setup that sets SCRIPT_NAME to the request path because fastcgi_split_path_info is not used, or php -S with a router script outside the document root. The attacker must convince a victim to follow a crafted link (user interaction is required, per the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), after which generated links and form actions can post credentials to the attacker host, redirectToRoute() can redirect off-site, and asset() can load attacker scripts; framework.trusted_hosts does not help because the request host stays legitimate. No public exploit code is identified at time of analysis, the Symfony-documented configurations are explicitly unaffected, and vendor patches exist for all supported branches.
Path-based access control bypass in Symfony HttpFoundation's Request::getPathInfo(): since the CVE-2025-64500 fix, the script name (/index.php) is stripped from the request URI even when it is merely the start of a longer segment, so a request to /index.phpadmin (or the encoded /index%2Ephpadmin, /%69ndex.phpadmin) yields path info /admin and is routed as /admin while front-of-PHP rules never match it. Affected are symfony/http-foundation and symfony/symfony in branches 5.4.50-5.4.55, 6.4.29-6.4.49, 7.3.7-7.4.22 and 8.0.0-8.1.10, but only where protection lives exclusively in front of PHP - an nginx location /admin block, an Apache <Location /admin> section, or a CDN/WAF rule on /admin; rules enforced by Symfony's own access_control and firewalls are not bypassable because they read the same post-strip path info as the router. No public exploit code has been identified at time of analysis and there is no KEV listing; EPSS is low at 0.21% (11th percentile), yet the practical priority is conditional rather than universal, since default-looking nginx documentation configs and symfony/apache-pack .htaccess still forward /index.phpadmin to the front controller. A vendor patch exists (5.4.56, 6.4.50, 7.4.23, 8.1.11) and updating is the complete fix.
Symfony's SSRF-protection client NoPrivateNetworkHttpClient can be bypassed with an IPv4-mapped IPv6 address such as ::ffff:127.0.0.1, so an outbound request that should be refused instead reaches the embedded private IPv4 host. Only deployments that construct the client with a custom subnet blocklist containing at least one IPv6 entry are affected; the shipped default list already contains ::ffff:0:0/96 and is not exploitable, and custom lists with no IPv4 entry are likewise safe because they block every IPv4 host. The flaw is remotely triggerable and unauthenticated (CVSS 4.0 vector shows PR:N) but requires the application to fetch attacker-influenced URLs or attacker-controlled hostnames, and it yields internal reachability rather than confirmed data disclosure; no public exploit code has been identified at time of analysis, and vendor patches exist for every affected branch.