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

Source: https://junglewise.ai/threats/cve-2025-27515-laravel-has-a-file-validation-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-05  
License: CC BY 4.0 with a link back

CVE-2025-27515 · Severity: medium · CVSS 4 · Published 2025-03-05

Laravel has a File Validation Bypass

Technologies: [laravel/framework (Packagist)](https://junglewise.ai/threats/technologies/packagist-laravel-framework). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-27515 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-27515 being exploited in the wild.

**How severe is CVE-2025-27515?** Medium severity, with a CVSS score of 4, published 5 March 2025.

**Which products and versions are affected?** laravel/framework (Packagist) ECOSYSTEM:introduced=12.0.0,fixed=12.1.1.

**Is there a fix for CVE-2025-27515?** Yes. laravel/framework (Packagist): upgrade to 12.1.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-27515?** Check whether you run laravel/framework (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- laravel/framework (Packagist): upgrade to 12.1.1 or later

  ```sh
  composer require laravel/framework:^12.1.1
  ```


## Affected products

- laravel/framework (Packagist) ECOSYSTEM:introduced=12.0.0,fixed=12.1.1

## Identifiers

- CVE-2025-27515
- GHSA-78fx-h6xr-vch4

## Related threats

- [Laravel TokenGuard authentication bypass via non-string credential](https://junglewise.ai/threats/cve-2026-114509-laravel-is-a-web-application-framework-prior-to-12-68-0-and-13)
- [Laravel privilege escalation in read-only endpoints](https://junglewise.ai/threats/cve-2026-114508-laravel-is-a-web-application-framework-from-12-45-0-until-12-68)
- [Laravel: XSS in Debug Page Information](https://junglewise.ai/threats/cve-2026-102279-laravel-is-a-web-application-framework-prior-to-12-69-0-and-13)
- [Laravel CRLF injection in email validation](https://junglewise.ai/threats/cve-2026-48019-laravel-crlf-injection-in-email-validation)
- [Laravel framework susceptible to reflected cross-site scripting](https://junglewise.ai/threats/cve-2024-13918-laravel-framework-susceptible-to-reflected-cross-site-scripting)
