← 漏洞与更新

高危漏洞公告RubyRuby on Rails

Action Pack: Possible Strong Parameters Bypass in Parameters#each_key

受影响

软件包受影响版本修复版本
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…

在 GitHub Advisory Database 阅读

2026/11/13 08:37,GitHub Advisory Database 发布了“Action Pack: Possible Strong Parameters Bypass in Parameters#each_key”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Ruby、Ruby on Rails。CVE:CVE-2026-126081。