MEDIUM · CVSS 5.3 Published: 2026-12-02

CVE-2026-142643 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2026-142643
Base Severity / ScoreMEDIUM (5.3 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness ClassificationCWE-843
Archive CategoriesMEDIUM Advisories · 2026 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2026-142642 MEDIUM 5.4
CVE-2026-142644 MEDIUM 5.3
CVE-2026-142638 MEDIUM 4.2
CVE-2026-142641 MEDIUM 5.3
CVE-2026-142645 MEDIUM 4.8
CVE-2026-142647 MEDIUM 4.8
Recently updated entries: advisory/CVE-2025-3254 · advisory/CVE-2025-32434 · advisory/CVE-2025-32350