CVE-2026-126081: rails · Mass Assignment
Affects railsSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.5 High : upgrade to 8.1.4.1 or 8.0.5.2 soon.
Data as of 10 Nov 2026, 21:20 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 8.1.4.1, 8.0.5.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade rails to 8.1.4.1 or 8.0.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsrails | Affected
| Fixed in
|
| railsrails | Affected
| Fixed in
|
AI-suggested
Upgrade Rails to version 8.1.4.1 or later, or 8.0.5.2 or later, where this vulnerability is fixed. Applications should avoid passing the return value of ActionController::Parameters#each_key with a block to mass assignment methods. Since a fix is available, applying the official patch is the recommended remediation.
Description
A vulnerability in the Rails Action Pack framework prior to versions 8.1.4.1 and 8.0.5.2 allows improper mass assignment of attributes. Specifically, the method ActionController::Parameters#each_key, when called with a block, returns an internal hash that does not enforce attribute permitting, potentially enabling remote unauthenticated attackers to set unauthorized attributes such as authorization flags. This issue is an incomplete fix of a previous vulnerability (CVE-2020-8164) and affects applications that pass the return value of each_key to mass assignment methods. Rails itself does not call each_key in this manner. The vulnerability is fixed in versions 8.1.4.1 and 8.0.5.2.
References
- github.com/rails/rails/security/advisories/GHSA-wm3x-v3qw-4jh3 (opens in a new tab)
- github.com/rails/rails/commit/2fc8838300133931e19eed3ea6cee76a7e83f19c (opens in a new tab)
- github.com/rails/rails/commit/8ba746e0a786458c281060823f2ccc5c5f6312ac (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.5.2 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.4.1 (opens in a new tab)