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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6pxv-c29g-cc5h | Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Thu, 03 Dec 2026 17:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Laravel
Laravel framework |
|
| Vendors & Products |
Laravel
Laravel framework |
Wed, 02 Dec 2026 22:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch | |
| Weaknesses | CWE-915 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-12-03T15:03:48.118Z
Reserved: 2026-12-02T22:19:42.505Z
Link: CVE-2026-142634
No data.
Status : Received
Published: 2026-12-02T23:18:42.050
Modified: 2026-12-03T15:17:11.850
Link: CVE-2026-142634
No data.
OpenCVE Enrichment
Updated: 2026-12-03T17:30:21Z
Weaknesses
Github GHSA