CVE-2026-142643Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB
- 5.3MediumCVSS base score
- 0.44%Exploitation in 30 daysEPSS · top 60% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.44% · top 60% of all CVEs (3 Dec 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistlaravel/frameworkGHSA-wwq3-m3j5-wv66 (opens in a new tab)
References
References7
- https://github.com/laravel/framework/security/advisories/GHSA-wwq3-m3j5-wv66 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/laravel/framework/pull/62447 (opens in a new tab)x_refsource_MISC
- https://github.com/laravel/framework/pull/62448 (opens in a new tab)x_refsource_MISC
- https://github.com/laravel/framework/commit/2b517db47fca33b9bf48a15287af63702ace3f99 (opens in a new tab)x_refsource_MISC
- https://github.com/laravel/framework/commit/a26c3295498fc4de4b878d634fe2a9ae264d9a29 (opens in a new tab)x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v12.73.0 (opens in a new tab)x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v13.43.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-141971 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-wwq3-m3j5-wv66 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-142643)Record last updated .