← Vulnerabilities

HighAdvisoryRubyRuby on Rails

Action Pack: Possible Strong Parameters Bypass in Parameters#each_key

Affected

PackageAffected versionsFixed in
rubygems:actionpack>= 8.1.0.beta1, < 8.1.4.18.1.4.1
rubygems:actionpack< 8.0.5.28.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, unaut…

Read on GitHub Advisory Database

On 11/13/2026, 08:37 AM, GitHub Advisory Database published "Action Pack: Possible Strong Parameters Bypass in Parameters#each_key" (type: Advisory). Severity is "High" (high). Related technologies: Ruby, Ruby on Rails. CVE: CVE-2026-126081.