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

Published Mar 5, 2025
·
Updated

Laravel is a web application framework. When using wildcard validation to validate a given file or image field (files.), a user-crafted malicious request could potentially bypass the validation rules. This vulnerability is fixed in 11.44.1 and 12.1.1.

Other sources

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.

GitHub

Affected Software

7 affected componentsFixes available
Laravel Laravel<11.44.1
Laravel Laravel<12.1.1
composer/laravel/framework<10.48.29
10.48.29
composer/laravel/framework>=11.0.0<11.44.1
11.44.1
composer/laravel/framework>=12.0.0<12.1.1
12.1.1
Laravel Framework<11.44.1
Laravel Framework>=12.0.0<12.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/laravel/framework to a version that resolves this vulnerability.

    Fixed in 10.48.29
  2. Upgrade

    Upgrade composer/laravel/framework to a version that resolves this vulnerability.

    Fixed in 11.44.1
  3. Upgrade

    Upgrade composer/laravel/framework to a version that resolves this vulnerability.

    Fixed in 12.1.1
  4. Upgrade

    Upgrade laravel/framework to a version that resolves this vulnerability.

    Fixed in 11.44.1
  5. Upgrade

    Upgrade laravel/framework to a version that resolves this vulnerability.

    Fixed in 12.1.1

Event History

Mar 5, 2025
CVE Published
via MITRE·06:45 PM
Data Sourced
via MITRE·06:45 PM
DescriptionWeakness
Advisory Published
via GitHub·07:09 PM
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27515?

CVE-2025-27515 has been categorized as a high-severity vulnerability due to the potential for bypassing file validation rules.

2

How do I fix CVE-2025-27515?

To mitigate CVE-2025-27515, upgrade Laravel to version 11.44.1 or 12.1.1 or later.

3

What does CVE-2025-27515 affect?

CVE-2025-27515 affects Laravel framework versions prior to 11.44.1 and 12.1.1, specifically the wildcard validation for file or image fields.

4

Can CVE-2025-27515 allow malicious file uploads?

Yes, CVE-2025-27515 can potentially allow malicious requests to bypass file or image validation, leading to unauthorized file uploads.

5

Is there a patch available for CVE-2025-27515?

Yes, a patch for CVE-2025-27515 is available in the newer versions of Laravel, specifically 11.44.1 and 12.1.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203