CVE-2026-142634: Laravel Eloquent Mass-assignment Guard Bypass Vulnerability
MODERATECVE-2026-142634 is a MODERATE (CVSS 5.3) eloquent mass-assignment guard bypass vulnerability (CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes) affecting Laravel libraries in the Packagist ecosystem. The issue involves eloquent mass-assignment guard bypass via attribute-name normalization mismatch. Remediation is available by upgrading affected packages to version 13.43.0, 12.73.0.
CVE-2026-142634 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-142634
To remediate this vulnerability, upgrade all affected Laravel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade laravel/framework to 13.43.0
Upgrade laravel/framework to 12.73.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for laravel/framework
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-142634, inspect your project dependencies for Laravel:
inspect dependencies for laravel/framework
Analyze the terminal output to locate any version of Laravel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.43.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes, where the product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified. In Laravel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-142634 Affected Laravel Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
laravel/framework
|
Packagist |
≥ 13.0.0
< 13.43.0
|
13.43.0
|
|
laravel/framework
|
Packagist |
< 12.73.0
|
12.73.0
|
References
Frequently Asked Questions
What is CVE-2026-142634?
Which Laravel versions are affected?
What version fixes CVE-2026-142634?
Is laravel/framework affected?
What is the CVSS score of CVE-2026-142634?
What CWE is associated with CVE-2026-142634?
How can I check Packagist dependencies for CVE-2026-142634?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6pxv-c29g-cc5h",
"modified" : "2026-12-03T18:09:33Z",
"published" : "2026-12-03T18:09:33Z",
"aliases" : [ "CVE-2026-142634" ],
"summary" : "Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch",
"details" : "### Impact\n\nEloquent'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.\n\n### Patches\n\nA 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "laravel/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "13.0.0"
}, {
"fixed" : "13.43.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "laravel/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "12.73.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/security/advisories/GHSA-6pxv-c29g-cc5h"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-142634"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/pull/62499"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/commit/4b27e94a6b6e3ebf693796f406430f16020d2d79"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/laravel/framework"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/releases/tag/v12.73.0"
}, {
"type" : "WEB",
"url" : "https://github.com/laravel/framework/releases/tag/v13.43.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-915" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-03T18:09:33Z",
"nvd_published_at" : "2026-12-02T23:18:42Z"
}
}