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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-142643— Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB

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 之前, 和 验证规则会将请求中的整数和布尔值原样传递给数据库查询。在 MySQL 和 MariaDB 上,字符串列与整数比较时,会把该列转换为数字。因此,诸如 、 或 这样的 JSON 输入,即使没有有效值,也可能满足类似 的规则,且针对的是非数值字符串列。一个未经认证、能够提交 JSON 的攻击者,可绕过“必须引用已存在记录”的检查。PostgreSQL 和 SQLite 不受影响。表单编码输入始终是字符串,不受影响。该问题已在 1

CVSS 5.3 · Medium EPSS 0.44% · P40

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

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-142643

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: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB
Source: CVE Program / CVE List V5
Vulnerability Description
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, The exists and unique validation rules passed integer and boolean values from the request unchanged to the database query. On MySQL and MariaDB, comparing a string column with an integer casts the column to a number. As a result, JSON input such as 0, false or [0] could satisfy a rule like required|exists:invites,code on a non-numeric string column without a valid value. An unauthenticated attacker who can submit JSON could bypass "must reference an existing record" checks. PostgreSQL and SQLite are not affected. Form-encoded input is always a string and is not affected. 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:L/I:N/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-142643

# 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-142643

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

Other References for CVE-2026-142643 (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-142642 5.4 MEDIUM Laravel: XSS via unescaped Stringable values in Blade component attribute bag
CVE-2026-142611 5.4 MEDIUM Laravel: Empty array key validation bypass
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-142641 5.3 MEDIUM Laravel: File validation bypass via empty input field colliding with an upload in Request:
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