Skip to main content

CVE-2025-27515 — Vulnerability in laravel/framework — CVE Details

MEDIUM

Laravel has a File Validation Bypass

Published March 5, 2025Updated September 10, 2026Source: OSV

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.

Check my composer.lock

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
Update laravel/framework to 10.48.29 or later
composer require "laravel/framework:^10.48.29"
Composer
Update laravel/framework to 12.1.1 or later
composer require "laravel/framework:^12.1.1"
Composer
Update laravel/framework to 11.44.1 or later
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).

PackageFixed 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.012.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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

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

CVSS Score
6.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.91%
EPSS percentile: 58.2

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

GHSA-78fx-h6xr-vch4
BIT-laravel-2025-27515

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock