Skip to content
OpenAdvisories
Medium · 6.9 Public exploit CVE-2025-27515 BIT-laravel-2025-27515EUVD-2025-6153GHSA-78fx-h6xr-vch4

Laravel has a File Validation Bypass

Published Mar 5, 2025 · Updated Mar 5, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
laravel framework >= 12.0.0, < 12.1.1, < 11.44.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 php-laravel-framework 10.48.29+dfsg-1 —
Debian 13 php-laravel-framework 10.48.29+dfsg-1 —
Debian 12 php-laravel-framework No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist laravel/framework >= 12.0.0, < 12.1.1 12.1.1 GHSA-78fx-h6xr-vch4
Packagist laravel/framework >= 11.0.0, < 11.44.1 11.44.1 GHSA-78fx-h6xr-vch4
Packagist laravel/framework < 10.48.29 10.48.29 GHSA-78fx-h6xr-vch4

Advisories 1

References