laravel/framework · Security
Laravel has a File Validation Bypass
- GHSA ID
- GHSA-78fx-h6xr-vch4
- CVE ID
- CVE-2025-27515
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-155 · Improper Neutralization of Wildcards or Matching Symbols
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 ↗