Summary
Laravel Guard bypass in Eloquent models
In laravel releases before 6.18.34 and 7.23.2. It was possible to mass assign Eloquent attributes that included the model's table name:
$model->fill(['users.name' => 'Taylor']);
When doing so, Eloquent would remove the table name from the attribute for you. This was a "convenience" feature of Eloquent and was not documented.
However, when paired with validation, this can lead to unexpected and unvalidated values being saved to the database. For this reason, we have removed the automatic stripping of table names from mass-asignment operations so that the attributes go through the typical "fillable" / "guarded" logic. Any attributes containing table names that are not explicitly declared as fillable will be discarded.
This security release will be a breaking change for applications that were relying on the undocumented table name stripping during mass assignment. Since this feature was relatively unknown and undocumented, we expect the vast majority of Laravel applications to be able to upgrade without issues.
Impact
The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths. Typical impact: varies by context: data corruption, logic bypass, or denial of service.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
laravel/framework to 6.18.34 or later; laravel/framework to 7.23.2 or later
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is GHSA-44PG-C29V-HP6R? GHSA-44PG-C29V-HP6R is a medium-severity improper input validation vulnerability in laravel/framework (composer), affecting versions >= 5.5.0, <= 5.5.49. It is fixed in 6.18.34, 7.23.2. The application does not adequately validate input before processing it, allowing unexpected values to reach sensitive code paths.
- Which versions of laravel/framework are affected by GHSA-44PG-C29V-HP6R? laravel/framework (composer) versions >= 5.5.0, <= 5.5.49 is affected.
- Is there a fix for GHSA-44PG-C29V-HP6R? Yes. GHSA-44PG-C29V-HP6R is fixed in 6.18.34, 7.23.2. Upgrade to this version or later.
- Is GHSA-44PG-C29V-HP6R exploitable, and should I be worried? Whether GHSA-44PG-C29V-HP6R is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether GHSA-44PG-C29V-HP6R is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix GHSA-44PG-C29V-HP6R?
- Upgrade
laravel/frameworkto 6.18.34 or later - Upgrade
laravel/frameworkto 7.23.2 or later
- Upgrade