Read the docs

Action Pack: Possible Strong Parameters bypass in Parameters#each_key

Priority MEDIUM 40CWE-915Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00625 50th percentileScored 2026-11-16
Fix Fixed rails (rails): 8.1.4.1, 8.0.5.2actionpack (RubyGems): 8.1.4.1, 8.0.5.2

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

VendorProductAffected versionsFixed inStatusSource
Railsrails8.1 to before 8.1.4.1; before 8.0.5.28.1.4.1, 8.0.5.2Patch availableCNA
—actionpack (RubyGems)8.1.0.beta1 to before 8.1.4.18.1.4.1Patch availableGHSA-wm3x-v3qw-4jh3
—actionpack (RubyGems)before 8.0.5.28.0.5.2Patch availableGHSA-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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*——Rails
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* Versions — — ·Rails

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

  1. 2026-11-10 Threatist record created from CVE-2026-126081
  2. 2026-11-12 Priority changed: MEDIUM → LOW
  3. 2026-11-13 Alias added: GHSA-wm3x-v3qw-4jh3
  4. 2026-11-13 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-wm3x-v3qw-4jh3
  5. 2026-11-13 CVSS score added · GHSA-wm3x-v3qw-4jh3
  6. 2026-11-13 Weakness changed · GHSA-wm3x-v3qw-4jh3
  7. 2026-11-13 8 new references · GHSA-wm3x-v3qw-4jh3
  8. 2026-11-14 CISA SSVC decision points changed

References

  • 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
See all 185 →

Sources