CVE-2026-126083
Last modified
CVE-2026-126083 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rails | rails | >= 8.1, < 8.1.4.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126083?
How severe is CVE-2026-126083?
How do I fix CVE-2026-126083?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126077Action Pack is a framework for handling and responding to we…6.8
- CVE-2026-126078Action View is a framework for handling view template lookup…6.1
- CVE-2026-126079Action View is a framework for handling view template lookup…6.1
- CVE-2026-126080Active Support is a collection of utility classes and standa…7.5
- CVE-2026-126081Action Pack is a framework for handling and responding to we…7.5
- CVE-2026-126082Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2026-126084Active Storage makes it simple to upload and reference files…4.7
- CVE-2026-126085Active Storage makes it simple to upload and reference files…5.3
- CVE-2026-126087Untrusted search path in the cross-user process launcher in …8.8
- CVE-2026-12609In Eclipse Theia versions 1.66.0 and up until including 1.73…7.5
- CVE-2026-1261The MetForm Pro plugin for WordPress is vulnerable to Stored…7.2
- CVE-2026-12610A flaw was found in sssd. When authenticating with a YubiKey…6.4
Are you affected by CVE-2026-126083?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
