Skip to main content

Puma EUVDEUVD-2026-44427

| CVE-2026-47737 HIGH
Authentication Bypass by Spoofing (CWE-290)
2026-06-09 https://github.com/puma/puma GHSA-2vqw-3mp8-cgmx
7.5
CVSS 3.1 · Vendor: https://github.com/puma/puma
View

Attack ChainAIDerived

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

  1. Recon
    Identify target proxied by Puma with PROXY v1
  2. Delivery
    Open keep-alive HTTP connection via trusted proxy
  3. Exploit
    Send benign first request
  4. Install
    Inject forged PROXY header before second request
  5. C2
    Puma overwrites REMOTE_ADDR with spoofed IP
  6. Execute
    Smuggled request bypasses IP-based controls
  7. Impact
    Access restricted endpoint or evade rate limit

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three concrete conditions must all hold: (1) Puma is configured with set_remote_address proxy_protocol: :v1 in its DSL - the default configuration without this directive is not vulnerable; (2) persistent/keep-alive TCP connections are used between the upstream proxy and Puma, so multiple HTTP requests share one connection (mitigated by enable_keep_alives false); and (3) the attacker can route requests through that trusted proxy to Puma. Exploit impact is further gated by whether the downstream Ruby/Rack application actually uses REMOTE_ADDR for a security-sensitive decision (allow-lists, rate limiting, audit). Network-reachable and unauthenticated (PR:N), but limited to the affected version ranges 5.5.0-7.2.0 and 8.0.0-8.0.1 of the Puma rubygem.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N produces a 7.5 score reflecting network-reachable, unauthenticated exploitation with high integrity impact and no confidentiality or availability loss - consistent with a spoofing primitive rather than RCE. EPSS and KEV data are not provided in the input, so widespread exploitation cannot be asserted, and no public exploit identified at time of analysis. Real-world risk is meaningfully lower than the raw CVSS suggests because exploitation requires three concurrent conditions that are NOT default: PROXY protocol v1 explicitly enabled via set_remote_address proxy_protocol: :v1, keep-alive/persistent connections in use between proxy and Puma, and downstream application logic that actually trusts REMOTE_ADDR for security decisions. Where all three hold - for example, Rails apps using request.remote_ip for admin allow-lists or Rack::Attack rate limiting behind HAProxy with keep-alive - the impact is high and should be treated as priority patching.

Exploit ScenarioDerived

An attacker sends a normal HTTP request to a public site whose HAProxy or similar proxy forwards traffic to Puma over a keep-alive TCP connection with PROXY protocol v1 enabled. On the same persistent connection, the attacker appends a second request prefixed with a forged PROXY line such as PROXY TCP4 10.0.0.5 ... to impersonate an internal or allow-listed IP, and Puma overwrites REMOTE_ADDR with the spoofed value for the smuggled request. The attacker then reaches IP-restricted admin endpoints, bypasses Rack::Attack throttling, or pollutes audit logs; no public POC was identified at time of analysis, though the analogous go-guerrilla CVE-2025-31135 demonstrates the technique.

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

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

Alert me

AnalysisAIv1 – Jun 09, 2026

Source IP spoofing in Puma Ruby web server versions 5.5.0 through 7.2.0 and 8.0.0 through 8.0.1 allows remote attackers to overwrite REMOTE_ADDR by injecting a second PROXY protocol v1 header between keep-alive requests on a persistent connection. Only deployments that explicitly enable set_remote_address proxy_protocol: :v1 behind a trusted proxy are affected, and no public exploit identified at time of analysis. The flaw undermines any application or middleware logic that relies on client IP for access control, rate limiting, or auditing.

RemediationAI

Vendor-released patch: upgrade to Puma 7.2.1 (for the 5.5.0-7.x branch) or 8.0.2 (for the 8.0.x branch) as published in GHSA-2vqw-3mp8-cgmx (https://github.com/puma/puma/security/advisories/GHSA-2vqw-3mp8-cgmx). If immediate upgrade is not possible, remove or comment out the set_remote_address proxy_protocol: :v1 directive in the Puma config, which fully closes the bug but loses the original client IP unless the proxy is reconfigured to forward it via a trusted HTTP header such as X-Forwarded-For (with the application then parsing that header instead). Alternatively, disable keep-alives with enable_keep_alives false, which eliminates the persistent-connection precondition but increases TCP handshake overhead and can hurt throughput under high concurrency. Until patched, audit application code paths that consume REMOTE_ADDR (Rack::Attack, admin IP allow-lists, audit logs) and treat them as untrusted.

Affected VersionsENISA

puma 8.0.0, < 8.0.2
puma 5.5.0, < 7.2.1

Affected Packages

rubygems puma fix: 7.2.1, 8.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in rubygems

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

Technical ContextAI · show details

Puma is a widely used multi-threaded Ruby HTTP server commonly fronted by reverse proxies such as HAProxy or nginx. The HAProxy PROXY protocol v1 is a connection-level mechanism in which the upstream proxy sends a single human-readable PROXY line once at the start of a TCP connection to convey the original client address. Puma's bug, classified as CWE-290 (Authentication Bypass by Spoofing), is that its parser re-evaluated PROXY headers at the start of every keep-alive request rather than only on connection establishment, so an attacker tunneled through the trusted proxy can smuggle a forged PROXY line as the first bytes of a subsequent request and have Puma adopt the spoofed source address. The CPE pkg:rubygems/puma confirms the affected component is the Ruby gem, and the issue is analogous to CVE-2025-31135 in go-guerrilla, cited in the advisory as prior art for the same parsing mistake.

Know when the next one hits your stack

  • 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 (https://github.com/puma/puma) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (https://github.com/puma/puma).

CVSS VectorVendor: https://github.com/puma/puma

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

DescriptionCVE.org

Impact

Puma is vulnerable to source IP spoofing when set_remote_address proxy_protocol: :v1 is enabled and persistent connections are used.

PROXY protocol v1 is a connection-level protocol. Support was added to Puma in v5.5.0. A proxy sends one PROXY header at the beginning of a TCP connection, before any HTTP data. Puma incorrectly re-parsed PROXY protocol headers after each keep-alive request on the same connection. An attacker able to send HTTP requests through a trusted proxy could therefore inject a second PROXY header between HTTP requests. Puma would treat the injected header as authoritative for the next request and overwrite REMOTE_ADDR.

This can mislead applications or middleware that use REMOTE_ADDR for security decisions, rate limiting, auditing, or allow/deny lists.

Only deployments that explicitly enable PROXY protocol v1 are affected, and will have set:

ruby
set_remote_address proxy_protocol: :v1

Puma's default configuration is not affected. Deployments that do not use persistent connections to Puma are also not expected to be affected by this issue.

Patches

Users should upgrade to versions 7.2.1 or 8.0.2.

Workarounds

Disable PROXY protocol v1 parsing if it is not required:

ruby
# remove/comment this:
# set_remote_address proxy_protocol: :v1

Users can also disable persistent connections to Puma, for example:

ruby
enable_keep_alives false

References

Executive ViewAI

Why It Matters

Puma Ruby web server (versions 5.5.0-7.2.0, 8.0.0-8.0.1) contains an IP spoofing vulnerability that allows attackers to overwrite source IP addresses, directly undermining access control, rate limiting, and audit trail integrity. Organizations deploying Puma behind a proxy with PROXY protocol v1 enabled face compromised security controls. Immediate configuration assessment and mitigation deployment are required to prevent security bypass.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable PROXY protocol v1 if operationally feasible; (2) implement IP validation logic independent of REMOTE_ADDR; (3) add secondary authentication for access control decisions; (4) enhance monitoring for IP anomalies and spoofing patterns; (5) restrict proxy connections to verified IP ranges only.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
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.0%
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
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP4 Affected
SUSE Linux Enterprise High Availability Extension 15 SP5 Affected
SUSE Linux Enterprise High Availability Extension 15 Affected
SUSE Linux Enterprise High Availability Extension 15 SP1 Affected

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