# CVE-2026-126083: Action Pack: Possible IP spoofing in Action Dispatch RemoteIp

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.0, CNA) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.37% (percentile 23, 2026-11-29)
- **CWE:** CWE-348
- **Aliases:** GHSA-2gff-2mmg-m73p
- **Published:** 2026-11-10T21:09:33.682Z
- **Modified:** 2026-11-13T17:17:24.893Z

## 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

## 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

- RubyGems `actionpack`: affected \>= 8.1.0.beta1, \< 8.1.4.1; fixed 8.1.4.1 (ghsa)
- rails: \>= 8.1, \< 8.1.4.1 (cvelist)

## Technologies

Ruby on Rails, RubyGems

## Mitigation

- Upgrade actionpack to 8.1.4.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-29).

### 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.

## References

- vendor: <https://github.com/rails/rails/security/advisories/GHSA-2gff-2mmg-m73p>
- patch: <https://github.com/rails/rails/commit/2a01a5ac521184419d9a92fa2c25e102e68cd227>
- other: <https://github.com/rails/rails/releases/tag/v8.1.4.1>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-2gff-2mmg-m73p.yml>
- other: <https://github.com/advisories/GHSA-2gff-2mmg-m73p>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-126083>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-2gff-2mmg-m73p> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-126083> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-126083>
