CVE Catalog

CVE-2026-142634

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.46%

41th percentile - higher than 41% of all known CVEs

Summary

In Laravel before versions 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().

Risk Assessment

A remote client could write protected attributes such as role or privilege flags when a model uses a $guarded blacklist with a set-mutator and mass-assigns untrusted input.

Recommendation

Upgrade Laravel to version 13.43.0 or 12.73.0 and avoid mass-assigning untrusted input to models with a $guarded blacklist.

Other vulnerabilities in Laravel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS