NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-27515: Laravel has a File Validation Bypass

mediumCVSS 4.0 6.9GHSA-78fx-h6xr-vch4

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

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) entries