Action Pack: Possible Strong Parameters bypass in Parameters#each_key
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-915.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Rails | rails | 8.1 to before 8.1.4.1; before 8.0.5.2 | 8.1.4.1, 8.0.5.2 | Patch available | CNA |
| — | actionpack (RubyGems) | 8.1.0.beta1 to before 8.1.4.1 | 8.1.4.1 | Patch available | GHSA-wm3x-v3qw-4jh3 |
| — | actionpack (RubyGems) | before 8.0.5.2 | 8.0.5.2 | Patch available | GHSA-wm3x-v3qw-4jh3 |
- rails VendorRails Affected 8.1 to before 8.1.4.1; before 8.0.5.2 Fixed in 8.1.4.1, 8.0.5.2 Patch available CNA
- actionpack (RubyGems) Vendor— Affected 8.1.0.beta1 to before 8.1.4.1 Fixed in 8.1.4.1 Patch available GHSA-wm3x-v3qw-4jh3
- actionpack (RubyGems) Vendor— Affected before 8.0.5.2 Fixed in 8.0.5.2 Patch available GHSA-wm3x-v3qw-4jh3
Remediation
- Fix · CNA rails (rails) Fixed in 8.1.4.1, 8.0.5.2
- Fix · GHSA-wm3x-v3qw-4jh3 actionpack (RubyGems) Fixed in 8.1.4.1 Advisory →
- Fix · GHSA-wm3x-v3qw-4jh3 actionpack (RubyGems) Fixed in 8.0.5.2 Advisory →
Timeline
- 2026-11-10 Threatist record created from CVE-2026-126081
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-13 Alias added: GHSA-wm3x-v3qw-4jh3
- 2026-11-13 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-wm3x-v3qw-4jh3
- 2026-11-13 CVSS score added · GHSA-wm3x-v3qw-4jh3
- 2026-11-13 Weakness changed · GHSA-wm3x-v3qw-4jh3
- 2026-11-13 8 new references · GHSA-wm3x-v3qw-4jh3
- 2026-11-14 CISA SSVC decision points changed
References
Other 7
- https://github.com/rails/rails/security/advisories/GHSA-wm3x-v3qw-4jh3
- https://github.com/rails/rails/commit/2fc8838300133931e19eed3ea6cee76a7e83f19c
- https://github.com/rails/rails/commit/8ba746e0a786458c281060823f2ccc5c5f6312ac
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-wm3x-v3qw-4jh3.yml
More Rails vulnerabilities
- TI-2014-00124 Path traversal in Ruby on Rails lets remote attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 File content disclosure in Rails Action View KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal in Rails Action View lets attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
- TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-126081 · CVE Program
- CVE-2026-126081 · NVD
- FIRST EPSS
- GHSA-wm3x-v3qw-4jh3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences