CWE
155
EPSS
0.053%
Advisory Published
Advisory Published
Updated

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

First published: Wed Mar 05 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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Laravel Framework<11.44.1
Laravel Framework<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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203