PT-2026-166352
CVE-2026-142634
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Laravel versions prior to 13.43.0
Laravel versions prior to 12.73.0
Description
Eloquent's
$guarded protection can be bypassed using alternate spellings of guarded attribute names, such as adding hyphens or whitespace to a name like is admin. This occurs because the guard check uses the raw key, whereas set-mutator resolution normalizes the key using Str::studly() or Str::camel(). The issue affects applications that use a $guarded blacklist, define a set-mutator on a guarded attribute, and perform mass-assignment of untrusted input via $request->all(). A remote client can exploit this to modify protected attributes, such as role or privilege flags.Recommendations
Update to version 13.43.0 or later.
Update to version 12.73.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾