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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 8.1.4.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-10 · Modified: 2026-11-13
- Aliases: GHSA-2gff-2mmg-m73p, CGA-h7jm-g9hw-mrx2, CGA-77pw-xffh-j2f8, CGA-frwp-c687-hp2h, CGA-c3v3-chqw-rvfq, UBUNTU-CVE-2026-126083
- Record: https://cvemate.com/vulnerability/CVE-2026-126083 · JSON: https://cvemate.com/vulnerability/CVE-2026-126083/json

## Description

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

## Signals

- CVSS: 7.4 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.367%, percentile 32.581%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard pghero (Chainguard): All versions (No fix recorded) \| \< 3.8.0-r13
- chainguard pghero-fips (Chainguard): All versions (No fix recorded) \| \< 3.8.0-r12 \| \< 3.8.0-r13
- ubuntu rails (Ubuntu): All versions (No fix recorded)
- RubyGems actionpack (RubyGems): ≥ 8.1.0.beta1, \< 8.1.4.1
- rails rails: ≥ 8.1, \< 8.1.4.1

## References

- <https://github.com/rails/rails/security/advisories/GHSA-2gff-2mmg-m73p>
- <https://github.com/rails/rails/commit/2a01a5ac521184419d9a92fa2c25e102e68cd227>
- <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-2gff-2mmg-m73p.yml>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126083.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126083>
- <https://ubuntu.com/security/CVE-2026-126083>
- <https://www.cve.org/CVERecord?id=CVE-2026-126083>

---

Data as of 2026-12-05T04:12:59.986Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
