Skip to main content
CVE-2026-126083VulnerabilityPublished Updated

From 8.1 until 8.1.4.1, Since Rails 8.1.0, ActionDispatch::RemoteIp derives request.remote_ip from

Affects railsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126083· High 7.4

Not known to be exploited · CVSS 7.4 High · fixed in 8.1.4.1 : patch rails soon.

Data as of 13 Nov 2026, 22:23 UTC

CVSS 3.0 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.07.4
Patch
Available – fixed in 8.1.4.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10railspkg:deb/ubuntu/rails?arch=source&distro=stonkingOther threatsAffected
  • =2:7.2.3+dfsg-2
  • =2:7.2.3.2+dfsg-2
Fixed in–
Ubuntu 26.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=resoluteOther threatsAffected
  • =2:7.2.2.1+dfsg-7
  • =2:7.2.2.2+dfsg-2
  • =2:7.2.3+dfsg-2
Fixed in–
Ubuntu 24.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=nobleOther threatsAffected
  • =2:6.1.7.3+dfsg-2build1
  • =2:6.1.7.3+dfsg-3
Fixed in–
Ubuntu Pro 22.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/jammyOther threatsAffected
  • =2:6.0.3.7+dfsg-2
  • =2:6.1.4.1+dfsg-8ubuntu2
  • =2:6.1.4.1+dfsg-8ubuntu2+esm1
Fixed in–
Ubuntu Pro 20.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/focalOther threatsAffected
  • =2:5.2.2.1+dfsg-1ubuntu1
  • =2:5.2.3+dfsg-3
  • =2:5.2.3+dfsg-3ubuntu0.1~esm1
Fixed in–
Ubuntu Pro 18.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 2:4.2.9-2 – 2:4.2.10-0ubuntu4+esm2
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Rails version 8.1.4.1 or later, where the issue is fixed. If upgrading is not immediately possible, configure the reverse proxy to remove or overwrite any client-supplied Forwarded headers to prevent spoofing. Applications behind proxies that do not set X-Forwarded-For remain exposed after upgrading and must apply this proxy configuration workaround.

Description

A vulnerability in Rails versions 8.1.0 through 8.1.4 allows an attacker to spoof the client IP address used by request.remote_ip. This occurs because ActionDispatch::RemoteIp derives the IP from the Forwarded header in Rack 3, which can be manipulated if a reverse proxy passes a client-supplied Forwarded header without removing or overwriting it. This spoofing can bypass IP-based access controls, rate limits, and falsify logs. The issue is fixed in Rails 8.1.4.1.

References

Community reviews

Loading reviews…