CVE-2026-47737 — Vulnerability in puma — CVE Details
Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.27%). Schedule for your next planned update.
Does your project use an affected puma version?
Paste your Gemfile.lock to check it for CVE-2026-47737 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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:
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:
# remove/comment this:
# set_remote_address proxy_protocol: :v1
Users can also disable persistent connections to Puma, for example:
enable_keep_alives false
References
Advisory Timeline
- First published June 9, 2026 (170 days ago).
- Last revised November 2, 2026 — 147 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install puma -v 8.0.2
gem install puma -v 7.2.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-290
- CWE-345Insufficient Verification of Data AuthenticityMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/puma/puma/security/advisories/GHSA-2vqw-3mp8-cgmxWEB
- https://github.com/puma/puma/pull/3944WEB
- https://github.com/puma/puma/pull/3947WEB
- https://github.com/puma/puma/commit/439c6136d9c2275721b7864db3ee78af7c80889fWEB
- https://github.com/puma/puma/commit/ebe9db3929ab8299d19c8f5b41e8ef4f4b22fa58WEB
- https://github.com/puma/pumaPACKAGE
- https://github.com/puma/puma/releases/tag/v7.2.1WEB
- https://github.com/puma/puma/releases/tag/v8.0.2WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2026-47737.ymlWEB
- https://nvd.nist.gov/vuln/detail/cve-2026-47737ADVISORY
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-47737WEB
Frequently Asked Questions
- What is CVE-2026-47737?
- Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-47737?
- CVE-2026-47737 affects puma. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-47737 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 11.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-40175CRITICAL
Puma HTTP Request/Response Smuggling vulnerability
- CVE-2022-24790CRITICAL
Puma vulnerable to HTTP Request Smuggling
- CVE-2021-29509HIGH
Puma's Keepalive Connections Causing Denial Of Service
- CVE-2026-47736HIGH
Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion
- CVE-2020-5249MEDIUM
HTTP Response Splitting (Early Hints) in Puma
- CVE-2020-5247MEDIUM
HTTP Response Splitting in Puma
- CVE-2024-45614MEDIUM
Puma's header normalization allows for client to clobber proxy set headers
- CVE-2024-21647MEDIUM
Puma HTTP Request/Response Smuggling vulnerability