{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-126083","id":"CVE-2026-126083","title":"Rails Action Pack IP spoofing via Forwarded header","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 heade","descriptionLong":"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.","published":"2026-11-10T21:09:33.682Z","updated":"2026-11-15T02:30:48.558818269Z","reserved":"2026-11-10T17:07:43.285Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["rails"],"affectedProducts":[{"vendor":"rails","product":"rails","defaultStatus":null,"versions":[{"version":">= 8.1, < 8.1.4.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":[">=8.1.0.beta1 <8.1.4.1"],"fixed":["8.1.4.1"],"advisory":"GHSA-2gff-2mmg-m73p"}],"cwes":["CWE-348"],"aliases":["GHSA-2gff-2mmg-m73p"],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-2gff-2mmg-m73p","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/rails/rails/commit/2a01a5ac521184419d9a92fa2c25e102e68cd227","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126083.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126083","tags":["advisory"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-2gff-2mmg-m73p.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00357,"epssPercentile":0.30248,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-126083","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126083","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-126083","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2gff-2mmg-m73p","ok":true,"note":"GHSA-2gff-2mmg-m73p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-126083","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":["ruby"],"critical":[],"attention":null}