Patchfirst
CVE-2026-126081 High · 7.5 EPSS 0.6%

Action Pack: Possible Strong Parameters bypass in Parameters#each_key

Fix:upgrade actionpack to 8.1.4.1 or later Details ↓

rails · rails

Official description · NVD

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.

Breakdown
62.5 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

Disclosed on 10 Nov 2026. No public exploit code or confirmed exploitation is recorded.

A fix was bypassed or incomplete once over 6 years.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2020-8164A deserialization of untrusted data vulnerability exists in…19 Jun 2020
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textThis 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.
    This CVECVE-2026-126081Action Pack: Possible Strong Parameters bypass in…10 Nov 2026

Affected versions and fixes

as published in the CVE record

rails rails

Affected: >= 8.1, < 8.1.4.1 · < 8.0.5.2

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: actionpack.

RubyGemsactionpackGHSA-wm3x-v3qw-4jh3

Upgrade to 8.1.4.1 or later

Gemfilegem "actionpack", ">= 8.1.4.1"

The first fix for CVE-2026-126081.

Affected versions, by release line

If you runUpgrade to
8.1.0.beta1 up to 8.1.4.18.1.4.1
All versions before 8.0.5.28.0.5.2

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 7 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close