CVE-2025-27515 — Vulnerability in laravel/framework — CVE Details
Laravel has a File Validation Bypass
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.91%). Schedule for your next planned update.
Does your project use an affected laravel/framework version?
Paste your composer.lock to check it for CVE-2025-27515 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published March 5, 2025 (631 days ago).
- Last revised September 10, 2026 — 553 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "laravel/framework:^10.48.29"
composer require "laravel/framework:^12.1.1"
composer require "laravel/framework:^11.44.1"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| laravel/framework Packagist · Affected: 5.0.30, 5.2.41, v10.0.0, v10.0.1 (+1014 more) | 10.48.29 |
| laravel/framework Packagist · Affected: v12.0.0, v12.0.1, v12.1.0 | 12.1.1 |
| laravel/framework Packagist · Affected: v11.0.0, v11.0.1, v11.0.2, v11.0.3 (+79 more) | 11.44.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-155
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/laravel/framework/security/advisories/GHSA-78fx-h6xr-vch4WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27515ADVISORY
- https://github.com/laravel/framework/commit/2d133034fefddfb047838f4caca3687a3ba811a5WEB
- https://github.com/laravel/framework/commit/a4f7a8f9b83e21882abeef78c3174c66b0f4a26bWEB
- https://github.com/laravel/frameworkPACKAGE
Frequently Asked Questions
- What is CVE-2025-27515?
- Laravel has a File Validation Bypass. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2025-27515?
- CVE-2025-27515 affects laravel/framework. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-27515 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 58.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-114509CRITICAL
Laravel TokenGuard authentication bypass through non-string API credentials
- CVE-2019-9081CRITICAL
Laravel Framework Deserialization Vulnerability
- CVE-2026-48019HIGH
Laravel Framework: CRLF injection in default email rule
- CVE-2026-75592MEDIUM
Kirby: Access to image files outside of the site root via path traversal in the media handling
- CVE-2026-88023MEDIUM
MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs
- GHSA-crmm-hgp2-wgrpMEDIUM
Laravel Framework: Temporary Signed URL Path Confusion
- CVE-2026-102279LOW
Laravel: XSS in Debug Page Information