CVE-2026-126081
Published:November 10, 2026
Updated:November 23, 2026
Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 8.0.5.2, ActionController::Parameters#each_key delegates to the internal ActiveSupport::HashWithIndifferentAccess that holds the request parameters, so when called with a block it returns that hash instead of the Parameters instance. The hash does not respond to permitted?, so Active Model mass assignment (new, assign_attributes, update) accepts it without raising ActiveModel::ForbiddenAttributesError. An application that passes the return value of each_key to mass assignment could allow a remote, unauthenticated attacker to set attributes that the application does not permit, such as an authorization flag. This is an incomplete fix of CVE-2020-8164, which made each, each_pair and each_value return the Parameters instance but left each_key delegated. An application is affected if it passes the return value of ActionController::Parameters#each_key, called with a block, to mass assignment. Rails itself makes no such call. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v5.0.0.beta2 <v8.0.5.2 || >=v6.0.0.beta1 <v8.0.5.2 || >=v7.0.0.alpha1 <v8.0.5.2 || >=v8.0.0.alpha1 <v8.0.5.2Fix Suggestion:
Update to version v8.0.5.2https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0.beta1 <v8.1.4.1Fix Suggestion:
Update to version v8.1.4.1actionpack (RUBY):
Affected version(s) >=7.2.0 <7.2.4.11Fix Suggestion:
Update to version 7.2.4.11actionpack (RUBY):
Affected version(s) >=0.9.0 <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2actionpack (RUBY):
Affected version(s) >=6.1.0 <6.1.7.42Fix Suggestion:
Update to version 6.1.7.42actionpack (RUBY):
Affected version(s) >=8.1.0.beta1 <8.1.4.1Fix Suggestion:
Update to version 8.1.4.1actionpack (RUBY):
Affected version(s) >=5.0.0.beta2 <8.0.5.2 || >=8.0.0.beta1 <8.0.5.2 || >=6.0.0.beta1 <8.0.5.2 || >=7.0.0.alpha1 <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improperly Controlled Modification of Dynamically-Determined Object Attributes
EPSS
Base Score:
0.63