Vulnerability advisory

CVE-2025-27515

Laravel has a File Validation Bypass

Published Updated OSV record ↗

Also known as BIT-laravel-2025-27515GHSA-78fx-h6xr-vch4

Severity
  • CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/laravel/framework ↗
All commits before 0883d4175f4e2b5c299e7087ad3c74f2ce195c6d0883d4175f4e2b5c299e7087ad3c74f2ce195c6d
bd8aeb64d3f9fa4b11690d702bdf289f5f32ae97 to before 9be5738f1ca1530055bb9d6db81f909a7ed348429be5738f1ca1530055bb9d6db81f909a7ed34842
Not specified2d133034fefddfb047838f4caca3687a3ba811a5
Also listed as affected (122)
  • v12.1.0
  • v12.0.1
  • v12.0.0
  • v11.44.0
  • v11.43.2
  • v11.43.1
  • v11.43.0
  • v11.42.1
  • v11.42.0
  • v11.41.3
  • v11.41.2
  • v11.41.1
  • v11.41.0
  • v11.40.0
  • v11.39.1
  • v11.39.0
  • v11.38.2
  • v11.38.1
  • v11.38.0
  • v11.37.0
  • v11.36.1
  • v11.36.0
  • v11.35.1
  • v11.35.0
  • v11.34.2
  • v11.34.1
  • v11.34.0
  • v11.33.2
  • v11.33.1
  • v11.33.0
  • v11.32.0
  • v11.31.0
  • v11.30.0
  • v11.29.0
  • v11.28.1
  • v11.28.0
  • v11.27.2
  • v11.27.1
  • v11.27.0
  • v11.26.0
  • v11.25.0
  • v11.24.1
  • v11.24.0
  • v11.23.4
  • v11.23.3
  • v11.23.2
  • v11.23.1
  • v11.23.0
  • v11.22.0
  • v11.21.0
  • v11.20.0
  • v11.19.0
  • v11.18.1
  • v11.18.0
  • v11.17.0
  • v11.16.0
  • v11.15.0
  • v11.14.0
  • v11.13.0
  • v11.12.0
  • v11.11.1
  • v11.11.0
  • v11.10.0
  • v11.9.2
  • v11.9.1
  • v11.9.0
  • v11.8.0
  • v11.7.0
  • v11.6.0
  • v11.5.0
  • v11.4.0
  • v11.3.1
  • v11.3.0
  • v11.2.0
  • v11.1.1
  • v11.1.0
  • v11.0.8
  • v11.0.7
  • v11.0.6
  • v11.0.5
  • v11.0.4
  • v11.0.3
  • v11.0.2
  • v11.0.1
  • v11.0.0
  • v9.0.0-beta.1
  • v8.17.2
  • v8.17.1
  • v8.17.0
  • v8.16.0
  • v8.15.0
  • v8.14.0
  • v8.13.0
  • v8.12.3
  • v8.12.2
  • v8.12.1
  • v8.12.0
  • v8.11.2
  • v8.11.0
  • v8.11.1
  • v8.9.0
  • v8.8.0
  • v8.7.1
  • v8.7.0
  • v8.6.0
  • v8.5.0
  • v8.4.0
  • v8.3.0
  • v8.2.0
  • v8.1.0
  • v8.0.4
  • v8.0.3
  • v8.0.2
  • v8.0.1
  • v8.0.0
  • v5.5.1
  • v5.5.0
  • v4.1.0
  • v4.0.0
  • v4.0.0-BETA4
  • v4.0.0-BETA3
  • v4.0.0-BETA2

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools