CWE-290Weakness · CWE-290

CVE-2026-47737

HIGH · 7.5 CVSS v3.1 Published 2026-07-14
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click Patch available

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 · unedited
Puma 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 confidence

Puma 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify if Puma is in use
    Check 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
  2. Determine installed Puma version
    Run `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
  3. Check if proxy_protocol: :v1 is configured
    Search 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
  4. Verify keep-alive persistence is enabled
    Check 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 Puma
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Patch available Apply the vendor patch
Vendor patch github.com →
Interim mitigation

Upgrade 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.

Recommended fix High confidence

Upgrade to Puma 7.2.1 (for 7.x line) or 8.0.2 (for 8.x line)

  1. Check the current Puma version in use (e.g., run `gem list puma` or check Gemfile.lock)
  2. Upgrade Puma to version 7.2.1 or 8.0.2 using bundler: `bundle update puma` or `gem install puma -v 7.2.1`
  3. Restart the Puma server to load the new version
  4. Verify the fix by testing that only the first PROXY header is processed per connection
Caveat Ensure existing application code and configuration are compatible with the upgraded Puma version before deploying to production

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get the patch applied

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-47737 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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