CVE-2025-27515: Laravel has a File Validation Bypass
When using wildcard validation to validate a given file or image field array (files.), a user-crafted malicious request could potentially bypass the validation rules.
Published Mar 5, 2025 · Updated Mar 12, 2025
Affected packages
laravel/framework
- Ecosystem
- Composer (PHP)
- Affected
- >= 12.0.0, < 12.1.1
- Fixed in
- 12.1.1
- Check
composer show laravel/framework
laravel/framework
- Ecosystem
- Composer (PHP)
- Affected
- >= 11.0.0, < 11.44.1
- Fixed in
- 11.44.1
- Check
composer show laravel/framework
laravel/framework
- Ecosystem
- Composer (PHP)
- Affected
- < 10.48.29
- Fixed in
- 10.48.29
- Check
composer show laravel/framework
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
When using wildcard validation to validate a given file or image field array (files.*), a user-crafted malicious request could potentially bypass the validation rules.
Credited to Jusb3, TrixterTheTux, tcytra.
References
- https://github.com/laravel/framework/security/advisories/GHSA-78fx-h6xr-vch4
- https://github.com/laravel/framework/commit/2d133034fefddfb047838f4caca3687a3ba811a5
- https://nvd.nist.gov/vuln/detail/CVE-2025-27515
- https://github.com/laravel/framework/commit/a4f7a8f9b83e21882abeef78c3174c66b0f4a26b
- https://github.com/advisories/GHSA-78fx-h6xr-vch4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-128083
Laravel: Task Output Injection - Concurrency Process
low2.3Nov 13, 2026CVE-2026-114508
Laravel relationship inclusion can trigger unauthorized data destruction
medium6.5Oct 23, 2026CVE-2026-114509
Laravel TokenGuard authentication bypass through non-string API credentials
critical9.2Oct 23, 2026CVE-2026-102279
Laravel: XSS in Debug Page Information
low3.1Sep 29, 2026GHSA-5vg9-5847-vvmq
Laravel Framework: CRLF injection in default email rule
high8.9Jun 17, 2026GHSA-crmm-hgp2-wgrp
Laravel Framework: Temporary Signed URL Path Confusion
medium4.2Jun 17, 2026
