Authentication Bypass by Spoofing in Puma - CVE-2026-47737
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to spoof source IP addresses and mislead applications or middleware that rely on those addresses for security decisions, rate limiting, auditing, or allow/deny lists.
The vulnerability exists due to Puma incorrectly re-parsing connection-level PROXY protocol v1 headers after each keep-alive request instead of accepting only one header at the start of the TCP connection, when set_remote_address proxy_protocol: :v1 is explicitly enabled and persistent connections are used. An unauthenticated remote attacker can send HTTP requests through a trusted proxy and inject a second PROXY header between requests on the same connection, causing Puma to treat that header as authoritative and overwrite REMOTE_ADDR for the next request.