{"id":"CVE-2026-142634","state":"PUBLISHED","title":"Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch","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.","publishedAt":"2026-12-02T22:35:08.705Z","updatedAt":"2026-12-02T22:35:08.705Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["laravel framework"],"affected":[{"vendor":"laravel","product":"framework","versions":[{"version":">= 13.0.0, < 13.43.0","status":"affected"},{"version":"< 12.73.0","status":"affected"}]}],"references":["https://github.com/laravel/framework/security/advisories/GHSA-6pxv-c29g-cc5h","https://github.com/laravel/framework/pull/62499","https://github.com/laravel/framework/commit/4b27e94a6b6e3ebf693796f406430f16020d2d79","https://github.com/laravel/framework/releases/tag/v12.73.0","https://github.com/laravel/framework/releases/tag/v13.43.0"],"weaknesses":["CWE-915"],"ingestedAt":"2026-12-02T22:38:06.035Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/142xxx/CVE-2026-142634.json","commit":"23669dfe9f35cce00649fa424f0d3d224056db77","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142634","state":"PUBLISHED","datePublished":"2026-12-02T22:35:08.705Z","dateUpdated":"2026-12-02T22:35:08.705Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-12-02T22:19:42.505Z"},"containers":{"cna":{"title":"Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"laravel","product":"framework","versions":[{"version":">= 13.0.0, < 13.43.0","status":"affected"},{"version":"< 12.73.0","status":"affected"}]}],"references":[{"url":"https://github.com/laravel/framework/security/advisories/GHSA-6pxv-c29g-cc5h","name":"https://github.com/laravel/framework/security/advisories/GHSA-6pxv-c29g-cc5h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/laravel/framework/pull/62499","name":"https://github.com/laravel/framework/pull/62499","tags":["x_refsource_MISC"]},{"url":"https://github.com/laravel/framework/commit/4b27e94a6b6e3ebf693796f406430f16020d2d79","name":"https://github.com/laravel/framework/commit/4b27e94a6b6e3ebf693796f406430f16020d2d79","tags":["x_refsource_MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v12.73.0","name":"https://github.com/laravel/framework/releases/tag/v12.73.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v13.43.0","name":"https://github.com/laravel/framework/releases/tag/v13.43.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-915","lang":"en","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-12-02T22:35:08.705Z"},"source":{"advisory":"GHSA-6pxv-c29g-cc5h","discovery":"UNKNOWN"}}}}}