Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Eloquent's $guarded protection can be bypassed with an alternate spelling of a guarded attribute name, such as a hyphen or whitespace variant of is_admin. The guard check compared the raw key, while set-mutator resolution normalized it with Str::studly() or Str::camel(). Applications are affected when a model uses a $guarded blacklist, defines a set-mutator (classic or Attribute-based) on a guarded attribute, and mass-assigns untrusted input such as $request->all(). A remote client could then write protected attributes such as role or privilege flags. This issue is fixed in versions 13.43.0 and 12.73.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-915"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142634.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "13.0.0"
},
{
"fixed": "13.43.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "12.73.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "4b27e94a6b6e3ebf693796f406430f16020d2d79"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v12.73.0",
"range": [
{
"fixed": "d091054fca4761e109b477bdca364dc93c7fd6df"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v13.43.0",
"range": [
{
"fixed": "72aa7e151062e218704d8660f407e6070040d8bc"
}
],
"source": "REFERENCES_TAG"
}
]
}