Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/framework
  4. ›
  5. CVE-2025-27515

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

March 5, 2025 (updated March 12, 2025)

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.

References

  • github.com/advisories/GHSA-78fx-h6xr-vch4
  • github.com/laravel/framework
  • github.com/laravel/framework/commit/2d133034fefddfb047838f4caca3687a3ba811a5
  • github.com/laravel/framework/commit/a4f7a8f9b83e21882abeef78c3174c66b0f4a26b
  • github.com/laravel/framework/security/advisories/GHSA-78fx-h6xr-vch4
  • nvd.nist.gov/vuln/detail/CVE-2025-27515

Code Behaviors & Features

Detect and mitigate CVE-2025-27515 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.48.29, all versions starting from 11.0.0 before 11.44.1, all versions starting from 12.0.0 before 12.1.1

Fixed versions

  • 12.1.1
  • 11.44.1
  • 10.48.29

Solution

Upgrade to versions 10.48.29, 11.44.1, 12.1.1 or above.

Weakness

  • CWE-155: Improper Neutralization of Wildcards or Matching Symbols

Source file

packagist/laravel/framework/CVE-2025-27515.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.