CVE-2026-142634
### Impact 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. ### Patches A fix has been merged to the 12.x branch in https://github.com/laravel/framework/pull/62499. It normalizes keys before comparing them against the guarded list.
Properties
- Severity
- medium
- Summary
- Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch
- Nvd fetched at
- 2026-12-04T15:00:48.841578+00:00
- Epss score
- 0.00458
- Cvss severity
- MEDIUM
- Cvss score
- 5.3
- Retrieved at
- 2026-12-04T15:02:58+00:00
- Ghsa published
- 2026-12-03T18:09:33Z
- Source url
- https://github.com/advisories/GHSA-6pxv-c29g-cc5h
- Ghsa updated
- 2026-12-03T18:09:37Z
- Ghsa id
- GHSA-6pxv-c29g-cc5h
- Last source
- FIRST EPSS
- Score
- 5.3
- Cvss version
- 3.1
- Cve id
- CVE-2026-142634
- Cvss vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
- First seen by Signal
- 2026-12-03T02:46:42+00:00
- Name
- CVE-2026-142634
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph