Skip to content

Laravel

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

CVE-2026-142634GHSA-6pxv-c29g-cc5hPublished 2 Dec 2026, 22:35 UTC

Real-world risk

1.6/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.3

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
LaravelWidespread>= 13.0.0, < 13.43.0; < 12.73.013.43.0, 12.73.0
frameworkCommon>= 13.0.0, < 13.43.0; < 12.73.013.43.0, 12.73.0

What to do

Update to a fixed version: 13.43.0, 12.73.0.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.5% chance of exploitation in 30 days (percentile 41), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.270
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 0.27 × threat 0.851.607
  4. Rounded to one decimal between 0.1 and 101.6

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 1.6 (cvss fallback)

Weakness

CWE-915

References

Get alerts for Laravel

Free email or text alerts when a vulnerability in Laravel reaches risk 8 or higher. Nothing else.