Security mailing lists by PureSourceCode

CVE-2026-142643

MEDIUM 5.3CVSS 3.1

Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB

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.

Published
2 Dec 2026
Last modified
3 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-1287CWE-843
Also known as
GHSA-wwq3-m3j5-wv66
Sources
NVDJSONCVE ListJSONOSV GHSA-wwq3-m3j5-wv66JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVE List GitHub_M CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List laravel framework = >= 13.0.0, < 13.43.0; = < 12.73.0
OSV Packagist laravel/framework >= 13.0.0, < 13.43.0 13.43.0
OSV Packagist laravel/framework < 12.73.0 12.73.0

References

History

  • 3 Dec 2026 21:56 UTC · NVD: status Received → Awaiting Analysis
  • 3 Dec 2026 19:56 UTC · OSV: first stored (published 3 Dec 2026)
  • 3 Dec 2026 17:56 UTC · NVD: updated (other details)
  • 3 Dec 2026 16:56 UTC · CVE List: updated (other details)
  • 3 Dec 2026 00:30 UTC · NVD: first stored (published 2 Dec 2026)
  • 2 Dec 2026 23:30 UTC · CVE List: first stored (published 2 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.