Skip to main content

Action Pack EUVDEUVD-2026-122936

| CVE-2026-126083 HIGH
Use of Less Trusted Source (CWE-348)
2026-11-10 security-advisories@github.com GHSA-2gff-2mmg-m73p
7.4
CVSS 3.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send request with spoofed Forwarded header
  2. Delivery
    Proxy relays header unchanged to app
  3. Exploit
    Rack 3 prefers Forwarded over X-Forwarded-For
  4. Execution
    Rails derives attacker-chosen request.remote_ip
  5. Impact
    Bypass IP allowlist and rate limits, falsify logs

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
Exploitation Conditions

Exploitation requires ALL of: (1) Rails 8.1.0 through 8.1.4 running on Rack 3 - under Rack 2.2, forwarded_for reads only X-Forwarded-For and the issue does not arise; (2) deployment behind a reverse proxy that does NOT remove or overwrite a client-supplied Forwarded (RFC 7239) header; and (3) the application relying on request.remote_ip for IP-based access control, rate limiting (including the default by: of rate_limit), or audit logging. The AC:H rating reflects these stacked, non-default proxy/version prerequisites. Note a residual limitation of the fix itself: upgrading to 8.1.4.1 only detects the spoof when the proxy ALSO sets X-Forwarded-For; an app whose proxy forwards Forwarded but sets no X-Forwarded-For stays exposed after patching and must configure the proxy to strip/overwrite Forwarded, or set Rack::Request.forwarded_priority = [:x_forwarded] (Rack 3.0.0+). No user interaction or authentication is required (PR:N/UI:N).

Impact

This is a genuine but conditional security-control bypass, not a remote code execution or data-breach-by-default flaw. The input CVSS 3.0 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4 High) correctly captures that an unauthenticated network attacker can reach the issue (AV:N/PR:N) but that exploitation is NOT universal (AC:H), because success depends on a specific stack: Rails 8.1.0-8.1.4 running on Rack 3, served behind a reverse proxy that passes a client-supplied RFC 7239 Forwarded header through unchanged, and an application that actually consumes request.remote_ip for access control, rate limiting, or auditing. The vuln.today Decision label is 'this_week' rather than act_now/emergency, which is consistent with the signal set: there is NO CISA KEV listing, NO EPSS score supplied, and NO public exploit or PoC reference in the input - only a responsible HackerOne report. So the KEV/EPSS/SSVC signals do not elevate this to active-exploitation priority; it reads as a credible, researcher-confirmed weakness awaiting opportunistic abuse, not confirmed widespread exploitation. One caveat worth flagging: the supplied C:H/I:H rating is generous for what is fundamentally a trust-boundary/IP-spoofing issue (CWE-348) whose concrete impact (allowlist bypass, rate-limit evasion, log falsification) is partial and application-dependent - hence my independent assessment lowers the impact metrics. EPSS is missing, so probabilistic exploitation likelihood cannot be stated.

Exploit ScenarioDerived

An application runs Rails 8.1.x on Rack 3 behind a reverse proxy that appends the real client IP to X-Forwarded-For but forwards a client-supplied Forwarded header untouched. An unauthenticated attacker sends an HTTP request containing a Forwarded: for=<chosen-ip> header; because Rack 3 prefers Forwarded over X-Forwarded-For and the legacy spoofing check only compared Client-Ip against forwarded addresses, request.remote_ip returns the attacker-chosen address, letting them bypass IP allowlists, evade rate limits keyed on the client IP (including rate_limit's default by:), and forge their source address in logs. No public exploit code is identified at time of analysis, and the AC:H rating reflects the required proxy/deployment preconditions rather than any inherent timing or race.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

IP address spoofing in Action Pack (Rails 8.1.0 through 8.1.4 on Rack 3) can let unauthenticated remote attackers influence request.remote_ip when a reverse proxy passes a client-supplied RFC 7239 Forwarded header through unchanged, potentially bypassing IP-keyed access controls, rate limits, and audit attribution. Exploitation requires the stacked non-default conditions of Rack 3, a proxy that does not strip or overwrite Forwarded, and an application that relies on request.remote_ip; the assessed CVSS 3.1 vector is AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N. No public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: 8.1.4.1; upgrade actionpack to that version (Rails 8.1.4.1), with the fix commit at https://github.com/rails/rails/commit/2a01a5ac521184419d9a92fa2c25e102e68cd227 and release at https://github.com/rails/rails/releases/tag/v8.1.4.1. Configure reverse proxies to remove or overwrite any client-supplied Forwarded header. If the proxy sets X-Forwarded-For, setting Rack::Request.forwarded_priority = [:x_forwarded] in an initializer (available in Rack 3.0.0+) makes Rack ignore Forwarded and restores Rails 8.0 client-address resolution, but it also makes Rack ignore Forwarded when determining the request scheme, host, and port. Upgrading alone does not protect an application whose proxy forwards a client-supplied Forwarded header and sets no X-Forwarded-For; such deployments must strip or overwrite Forwarded at the proxy or apply the forwarded_priority workaround. After upgrading, proxies that report the client address inconsistently between Forwarded and X-Forwarded-For will cause ActionDispatch::RemoteIp::IpSpoofAttackError when ip_spoofing_check is enabled (the default), so align proxy header behavior or account for that error path.

Affected VersionsENISA

rails 8.1, < 8.1.4.1

Affected Packages

rubygems actionpack fix: 8.1.4.1
euvd rails fix: 8.1.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in rubygems, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Action Pack's ActionDispatch::RemoteIp middleware calculates request.remote_ip from forwarding headers so applications behind proxies can see the client address. Rails 8.1.0 changed it to use Rack::Request#forwarded_for; under Rack 3 that method reads the RFC 7239 Forwarded header in preference to X-Forwarded-For, whereas under Rack 2.2 it reads only X-Forwarded-For. The flaw is CWE-348 (Use of Less Trusted Source): a client-controlled Forwarded value can take precedence over the proxy-appended X-Forwarded-For value, and the existing spoofing check compared only Client-Ip against forwarded addresses, so it did not raise. The 8.1.4.1 fix compares the first untrusted client address in Forwarded with the first untrusted client address in X-Forwarded-For as exact strings and raises ActionDispatch::RemoteIp::IpSpoofAttackError when both headers are present and differ. The fix only detects this conflict when the proxy also sets X-Forwarded-For; if a proxy forwards a client-supplied Forwarded header and sets no X-Forwarded-For, the application remains exposed after upgrading and the proxy must strip or overwrite Forwarded, or Rack::Request.forwarded_priority must be set to [:x_forwarded] (Rack 3.0.0+).

Know when Ruby On Rails gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 4.8 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H for the required Rack 3 plus Forwarded-passing-proxy preconditions; impact lowered to C:L/I:L as a partial, app-dependent IP-control bypass.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 7.4 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 22:20 EUVD
CVE Published
Nov 10, 2026 - 21:19 cve.org
HIGH 7.4

DescriptionCVE.org

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.

Technical POC Analysis

CWE-348, Use of Less Trusted Source.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-126083 is a high-severity vulnerability in Ruby on Rails Action Pack versions 8.1.0 through 8.1.4 running on Rack 3, allowing unauthenticated attackers to spoof IP addresses and potentially bypass IP-based access controls, rate limits, and audit logging. While exploitation requires specific non-default configurations-a reverse proxy that does not sanitize Forwarded headers-the potential for unauthorized access and obscured audit trails warrants immediate attention from security and engineering leadership.

Business Impact: High
Compensating Controls

Configure reverse proxies to strip or overwrite client-supplied RFC 7239 Forwarded headers, audit and strengthen IP-based access controls with additional authentication or network segmentation, and monitor for anomalous IP addresses in audit logs.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
High
Ruby on Rails / Action Pack is a widely deployed enterprise web framework
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-0333 HIGH POC
7.5 Jan 30

lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly

CVE-2013-0156 HIGH POC
7.5 Jan 13

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, an

CVE-2016-2098 HIGH POC
7.3 Apr 07

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to e

CVE-2013-6414 MEDIUM POC
5.0 Dec 07

actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allo

CVE-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2026-109391 CRITICAL POC
9.2 Oct 12

Unauthenticated remote code execution is achievable in Square Squash (all versions through commit e73f280) through a two

CVE-2017-17919 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute

CVE-2017-17920 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execut

CVE-2012-6496 HIGH POC
7.5 Jan 04

SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x

CVE-2012-2695 HIGH POC
7.5 Jun 22

The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly

CVE-2013-0277 CRITICAL
10.0 Feb 13

ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or

CVE-2026-94462 HIGH POC
7.1 Sep 22

Authenticated store customers can seize other shoppers' guest carts in Spree Commerce by calling PATCH /api/v3/store/car

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy