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 October 31, 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

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 Sun, 08 Nov 2026 00:17:25 +0000.