Skip to main content

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… (CVE-2026-47737)

0
Medium
Published: 07/14/2026 (07/14/2026, 20:17:00 UTC)
Source: GCVE Database
Product: puma

Description

Puma web server versions from 5.5.0 up to 7.2.1 and 8.0.2 are vulnerable to source IP spoofing when the set_remote_address proxy_protocol: :v1 option is enabled and persistent connections are used. The vulnerability arises 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 the REMOTE_ADDR value. This issue is fixed in versions 7.2.1 and 8.0.2.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
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

Affected software

Ubuntu:Pro:20.04:LTSmore threats →ghsa
puma
pkg:deb/ubuntu/puma?arch=source&distro=esm-apps/focal
Affected versions
=3.12.0-2ubuntu1=3.12.0-4ubuntu1=3.12.4-1ubuntu2=3.12.4-1ubuntu2+esm1=3.12.4-1ubuntu2+esm2
Ubuntu:Pro:22.04:LTSmore threats →ghsa
puma
pkg:deb/ubuntu/puma?arch=source&distro=esm-apps/jammy
Affected versions
=4.3.6-1ubuntu4=5.5.2-2ubuntu2=5.5.2-2ubuntu2+esm1=5.5.2-2ubuntu2+esm2
Ubuntu:24.04:LTSmore threats →ghsa
puma
pkg:deb/ubuntu/puma?arch=source&distro=noble
Affected versions
=5.6.5-4ubuntu2=5.6.5-4ubuntu3=6.4.2-4ubuntu1=6.4.2-4ubuntu3=6.4.2-4ubuntu4=6.4.2-4ubuntu4.3
Ubuntu:26.10more threats →ghsa
puma
pkg:deb/ubuntu/puma?arch=source&distro=stonking
Affected versions
=6.6.0-4build1=8.0.2-3build1
Ubuntu:26.04:LTSmore threats →ghsa
puma
pkg:deb/ubuntu/puma?arch=source&distro=resolute
Affected versions
=6.6.0-4=6.6.0-4build1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 01:08:43 UTC

Technical Analysis

Puma, a Ruby/Rack web server designed for parallelism, suffers from a source IP spoofing vulnerability in versions from 5.5.0 until 7.2.1 and 8.0.2 when the set_remote_address proxy_protocol: :v1 feature is enabled. The vulnerability occurs because Puma re-parses PROXY protocol headers on persistent connections after each keep-alive request, which allows an attacker to inject an additional PROXY header. This injection overwrites the REMOTE_ADDR environment variable, enabling spoofing of the source IP address. The flaw is addressed in Puma versions 7.2.1 and 8.0.2.

Potential Impact

An attacker can spoof the source IP address seen by the Puma server by injecting a second PROXY protocol header on persistent connections. This can lead to incorrect IP-based access control, logging, or other security mechanisms relying on REMOTE_ADDR, potentially allowing unauthorized access or evasion of IP-based restrictions. There is no direct confidentiality or availability impact reported.

Mitigation Recommendations

Upgrade Puma to version 7.2.1 or 8.0.2 or later, where this vulnerability is fixed. If upgrading is not immediately possible, consider disabling the set_remote_address proxy_protocol: :v1 feature or avoid using persistent connections with this setting until patched. Patch status is confirmed fixed in versions 7.2.1 and 8.0.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-47737
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ad3f6312cdf04f656664f0e

Added to database: 10/17/2026, 22:26:57 UTC

Last enriched: 10/18/2026, 01:08:43 UTC

Last updated: 10/18/2026, 01:08:43 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses