Advisory

GHSA-78fx-h6xr-vch4

Also known as: BIT-laravel-2025-27515, CVE-2025-27515

Summary

Laravel has a File Validation Bypass

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-03-05 19:09 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

laravel/framework

Packagist · All systems

Affected

  • introduced 12.0.0, fixed 12.1.1 (ecosystem)

Fixed versions

12.1.1

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 11.0.0, fixed 11.44.1 (ecosystem)

Fixed versions

11.44.1

Fix

The export has no generic command for this ecosystem.

laravel/framework

Packagist · All systems

Affected

  • introduced 0, fixed 10.48.29 (ecosystem)

Fixed versions

10.48.29

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences