CVE-2026-47737
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPuma is a Ruby/Rack web server built for parallelism. From 5.5.0 until 7.2.1 and 8.0.2, Puma is vulnerable to source IP spoofing when set_remote_address proxy_protocol: :v1 is enabled and persistent connections are used because Puma incorrectly re-parses PROXY protocol headers after each keep-alive request on the same connection, allowing an attacker to inject a second PROXY header and overwrite REMOTE_ADDR. This issue is fixed in versions 7.2.1 and 8.0.2.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencePuma incorrectly re-parses PROXY protocol v1 headers after each keep-alive request on persistent connections when set_remote_address proxy_protocol: :v1 is enabled. This allows an attacker to inject a second PROXY header to spoof their source IP and overwrite the REMOTE_ADDR variable, bypassing IP-based access controls or manipulate logging.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if Puma is in useCheck for Puma in Gemfile (look for 'gem puma'), config.ru, or running process (ps aux | grep puma)Affected if Puma is not present in the application stack, the CVE does not apply
-
Determine installed Puma versionRun `gem list puma` or check Gemfile.lock for puma version, or run `puma --version`Affected if Version is unknown or cannot be determined from available files
-
Check if proxy_protocol: :v1 is configuredSearch configuration files (puma.rb, puma/config.rb, environment config files) for `set_remote_address proxy_protocol: :v1` or `proxy_protocol: :v1`Affected if The set_remote_address directive with proxy_protocol: :v1 is NOT configured, the vulnerability cannot be triggered
-
Verify keep-alive persistence is enabledCheck puma configuration for `worker` and `threads` directives, and ensure no explicit `connection_close` or `pipeline` settings that disable keep-alive; persistent connections are enabled by default in PumaAffected if Persistent connections are explicitly disabled, exploitation is not possible in that configuration
User is affected if Puma with set_remote_address proxy_protocol: :v1 is enabled AND the installed version is below 7.2.1 or 8.0.2 AND persistent connections are in use (the default behavior).
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Puma to version 7.2.1 or 8.0.2. If immediate upgrade is not possible, consider disabling persistent connections or proxy_protocol until the upgrade can be performed.
Upgrade to Puma 7.2.1 (for 7.x line) or 8.0.2 (for 8.x line)
- Check the current Puma version in use (e.g., run `gem list puma` or check Gemfile.lock)
- Upgrade Puma to version 7.2.1 or 8.0.2 using bundler: `bundle update puma` or `gem install puma -v 7.2.1`
- Restart the Puma server to load the new version
- Verify the fix by testing that only the first PROXY header is processed per connection
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-47737 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-47737 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data