Front-of-PHP Path Rules Bypassed by Appending to the Script Name
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-288.
Summary
Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name even when it 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, and encoded forms such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Rules enforced by Symfony access_control and firewalls are not affected, but rules enforced in front of PHP, such as an nginx location /admin block, an Apache <Location /admin> section, or a CDN or WAF rule on /admin, can be bypassed because the front controller receives /index.phpadmin.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| symfony | symfony/http-foundation | 5.4.50 to before 5.4.56; 6.4.29 to before 6.4.50; 7.3.7 to before 7.4.23; 8.0.0 to before 8.1.11 | 5.4.56, 6.4.50, 7.4.23, 8.1.11 | Patch available | CNA |
| symfony | symfony/symfony | 5.4.50 to before 5.4.56; 6.4.29 to before 6.4.50; 7.3.7 to before 7.4.23; 8.0.0 to before 8.1.11 | 5.4.56, 6.4.50, 7.4.23, 8.1.11 | Patch available | CNA |
- symfony/http-foundation Vendorsymfony Affected 5.4.50 to before 5.4.56; 6.4.29 to before 6.4.50; 7.3.7 to before 7.4.23; 8.0.0 to before 8.1.11 Fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11 Patch available CNA
- symfony/symfony Vendorsymfony Affected 5.4.50 to before 5.4.56; 6.4.29 to before 6.4.50; 7.3.7 to before 7.4.23; 8.0.0 to before 8.1.11 Fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11 Patch available CNA
Remediation
Upgrade symfony/http-foundation and symfony/symfony to 5.4.56, 6.4.50, 7.4.23 or 8.1.11. The fixed versions strip the script name only when it is followed by a slash, a query string, or the end of the URL.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA symfony/http-foundation (Symfony) Fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11
- Fix · CNA symfony/symfony (Symfony) Fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
symfony/symfony 5.4.56, 6.4.50 and 2 more versions
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-97181 Symfony Filesystem Path lets paths escape their base directoryPriority MEDIUM 43
- TI-2026-97180 Generated URLs Can Point to a Host Chosen by the ClientPriority LOW 38
- Release ·
symfony/http-foundation 5.4.56, 6.4.50 and 2 more versions
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-97180 Generated URLs Can Point to a Host Chosen by the ClientPriority LOW 38
Timeline
- 2026-11-24 Threatist record created from CVE-2026-135801
- 2026-11-24 Alias added: GHSA-hjm2-6vvq-c899
- 2026-11-25 CVSS score added · CISA ADP
- 2026-11-25 CISA SSVC decision points changed
References
More symfony vulnerabilities
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
- TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
- TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
Sources
- CVE-2026-135801 · CVE Program
- CVE-2026-135801 · NVD
- FIRST EPSS
- GHSA-hjm2-6vvq-c899 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences