Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-142641— Laravel: File validation bypass via empty input field colliding with an upload in Request::all()

Quick assessment

Affected
laravel framework
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Laravel 是一个 Web 应用框架。在 13.43.0 和 12.73.0 之前,Laravel 13.x 中, 会让字段名与上传文件相同的文本输入优先于该文件。如果攻击者同时提交一个空值和文件,请求验证(包括 FormRequest 验证)会看到的是空值而不是上传文件。因此像 、 、 、 等规则都会被跳过。那些按这种方式验证可选上传、随后通过 或 读取该上传的应用,可能因此存储了绕过类型和大小验证的文件。该问题已在 13.43.0 和 12.73.0 版本中修复。

CVSS 5.3 · Medium EPSS 0.43% · P39

Affected Version Matrix 2

VendorProduct Version RangeStatus
laravel framework >= 13.0.0, < 13.43.0 affected
< 12.73.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-142641

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Laravel: File validation bypass via empty input field colliding with an upload in Request::all()
Source: CVE Program / CVE List V5
Vulnerability Description
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, In Laravel 13.x, Request::all() let a text input with the same name as an uploaded file take precedence over the file. If an attacker submitted an empty value alongside the file, request validation (including FormRequest validation) saw the empty value instead of the upload. Rules such as nullable, image, mimes and max were then skipped. Applications that validate an optional upload this way and then read it with $request->file() or $request->hasFile() could therefore store files that bypassed type and size validation. This issue is fixed in versions 13.43.0 and 12.73.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对额外参数处理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
laravel framework >= 13.0.0, < 13.43.0 -

II. Public POCs for CVE-2026-142641

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-142641

请登录查看更多情报信息。

Other References for CVE-2026-142641 (7)

Same Patch Batch · laravel · 2026-12-02 · 22 CVEs total

CVE-2026-142612 7.5 HIGH Laravel: Denial of service via crafted JSON request body
CVE-2026-142610 7.5 HIGH Laravel: Numeric validation can exhaust resources via extreme exponent input
CVE-2026-142636 6.8 MEDIUM Laravel: Sanctum guard can resolve the lowest-ID user when evaluated inside an eager-loade
CVE-2026-142635 6.5 MEDIUM Laravel: IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-Detection
CVE-2026-142624 6.5 MEDIUM Laravel: Nested sometimes validation rules skipped when value is __missing__
CVE-2026-142650 5.9 MEDIUM Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
CVE-2026-142611 5.4 MEDIUM Laravel: Empty array key validation bypass
CVE-2026-142642 5.4 MEDIUM Laravel: XSS via unescaped Stringable values in Blade component attribute bag
CVE-2026-142625 5.3 MEDIUM Laravel: Denial of service in email validation via oversized Unicode domains
CVE-2026-142649 5.3 MEDIUM Laravel: `in` / `Rule::in` validation rule bypass via loose comparison
CVE-2026-142644 5.3 MEDIUM Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of s
CVE-2026-142643 5.3 MEDIUM Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/Mar
CVE-2026-142634 5.3 MEDIUM Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch
CVE-2026-142623 5.3 MEDIUM Laravel: Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows deni
CVE-2026-142648 4.9 MEDIUM Laravel: Storage Signed URL Mode Confusion
CVE-2026-142645 4.8 MEDIUM Laravel: Temporary signed URL expiration bypass
CVE-2026-142647 4.8 MEDIUM Laravel: Temporary signed URL expiration bypass via unencoded numeric-keyed route paramete
CVE-2026-142637 4.8 MEDIUM Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as res
CVE-2026-142638 4.2 MEDIUM Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-base
CVE-2026-142626 3.1 LOW Laravel: Markdown secured encoding bypassed when Blade views are cached

Showing top 20 of 22 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities