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

- Severity: High 7.4 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-10T21:09:33.682Z
- Modified: 2026-11-13T17:17:24.893Z
- Also known as: GHSA-2gff-2mmg-m73p
- Weaknesses: CWE-348
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- rails rails: >= 8.1, < 8.1.4.1
- actionpack (RubyGems): from 8.1.0.beta1 before 8.1.4.1

## Every score

- GitHub_M: CVSS:3.0 7.4 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.0 7.4 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-126083](https://www.cve.org/CVERecord?id=CVE-2026-126083), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-2gff-2mmg-m73p](https://github.com/advisories/GHSA-2gff-2mmg-m73p), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-126083](https://nvd.nist.gov/vuln/detail/CVE-2026-126083), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-126083 · Whole record: https://cve.day/CVE-2026-126083.json · Rebuilt by cve.day 2026-11-25T22:59:50.277Z
