Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
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.
Authentication Bypass Using an Alternate Path or Channel CWE-288
The product requires authentication, but the product has an alternate path or channel that does not require authentication.
Weakness data: MITRE Common Weakness Enumeration.
Interpretation Conflict CWE-436
Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Symfony symfony/http-foundation | Software | from 5.4.50, before 5.4.56; from 6.4.29, before 6.4.50; from 7.3.7, before 7.4.23; from 8.0.0, before 8.1.11 | 5.4.56; 6.4.50; 7.4.23; 8.1.11 |
| Symfony symfony/symfony | Software | from 5.4.50, before 5.4.56; from 6.4.29, before 6.4.50; from 7.3.7, before 7.4.23; from 8.0.0, before 8.1.11 | 5.4.56; 6.4.50; 7.4.23; 8.1.11 |
The 7.2 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | High | The attacker needs an administrator account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.2 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 3 sources for this flaw, none tagged as a vendor patch.