CVE-2026-142634

Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch

Published Dec 2, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Laravel
Laravel framework
Vendors & Products Laravel
Laravel framework
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

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 3, 2026, 3:03 PM
Reserved
Dec 2, 2026, 10:19 PM
Status
Received
Published
Dec 2, 2026, 11:18 PM
Modified
Dec 3, 2026, 3:17 PM