Skip to content
FlawDB
Sign in

CVE-2026-126083

HIGH 7.4EPSS 23%

Action Pack: Possible IP spoofing in Action Dispatch RemoteIp

Also known as GHSA-2gff-2mmg-m73p

Mitigation

  • Upgrade actionpack to 8.1.4.1 or later.

Who should check

  • Projects that depend on RubyGems package actionpack (>= 8.1.0.beta1, < 8.1.4.1)
  • Anyone running rails >= 8.1, < 8.1.4.1

Vulnerability facts

Affected
actionpack >= 8.1.0.beta1, < 8.1.4.1
Fixed in
8.1.4.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.4 (v3.0, CNA)CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.37% chance of exploitation in 30 days (percentile 23, 2026-11-26)
CWE
CWE-348
Published
Modified

Description

Action Pack is a framework for handling and responding to web requests. From 8.1 until 8.1.4.1, Since Rails 8.1.0, ActionDispatch::RemoteIp derives request.remote_ip from Rack::Request#forwarded_for, which under Rack 3 reads the RFC 7239 Forwarded header in preference to X-Forwarded-For. When a reverse proxy appends the client address to X-Forwarded-For but passes a client-supplied Forwarded header through unchanged, request.remote_ip returns an address chosen by the client, and the IP spoofing check does not raise, because it compares only Client-Ip with the forwarded addresses. An unauthenticated attacker could therefore spoof request.remote_ip, possibly bypassing IP-based access controls and rate limits keyed on the client address (including the default by: of rate_limit), and falsifying the client address in logs. An application is affected if it meets all of these requirements: Runs Rails 8.1.0 through 8.1.4 with Rack 3. Under Rack 2.2, forwarded_for reads only X-Forwarded-For. Is served behind a proxy that does not remove or overwrite a client-supplied Forwarded header. Relies on request.remote_ip for access control, rate limiting, or auditing. The fix detects a spoofed Forwarded header only when the proxy also sets X-Forwarded-For. An application whose proxy passes a client-supplied Forwarded header through and sets no X-Forwarded-For remains exposed after upgrading, and should configure the proxy to remove or overwrite Forwarded, or apply the workaround below. This issue is fixed in version 8.1.4.1.

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems actionpack>= 8.1.0.beta1, < 8.1.4.18.1.4.1ghsa
rails>= 8.1, < 8.1.4.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-126083. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-126083.md
Affected: actionpack >= 8.1.0.beta1, < 8.1.4.1
Fixed in: 8.1.4.1

Steps:
1. Search this machine and project for actionpack (RubyGems), rails: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-126083 being exploited?

There is no confirmed exploitation: CVE-2026-126083 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-126083?

High: CVSS 7.4 (v3.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-126083?

actionpack >= 8.1.0.beta1, < 8.1.4.1.

Is there a fix for CVE-2026-126083?

Yes. Fixed in 8.1.4.1. Upgrade actionpack to 8.1.4.1 or later.

How do I check if I'm affected by CVE-2026-126083?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 4.7CVE-2026-128069

rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls

Ruby on Rails+1
EPSS 8%
MEDIUM 5.3CVE-2026-128068

rails-html-sanitizer: Possible regular expression denial of service with certain configurations

Ruby on Rails+1
EPSS 36%
CRITICAL 9.8CVE-2026-122006

Active Storage: Possible arbitrary file write and read in image analysis

Ruby on Rails+1
EPSS 50%
LOW 3.7CVE-2026-126188

Active Storage: Possible local file disclosure in video previews and analysis

Ruby on Rails+1
EPSS 23%
HIGH 8.8CVE-2026-126186

Active Storage: Possible arbitrary file read and remote code execution in video previews, analysis and image processing

Ruby on Rails+1
EPSS 34%
Sponsors