On November 25, 2026, the Puma team quietly shipped three patch releases — 7.2.4, 8.0.5, and 8.1.3 — and alongside them, five separate GitHub Security Advisories (GHSAs). None of the five have a CVE number assigned yet. None of them involve a single scary headline bug. What they have in common is more interesting and, honestly, more useful to understand: every one of them is a case where Puma’s code did roughly the right thing, but got one specific edge case wrong — and each of those edge cases happens to sit exactly on a boundary a web server is supposed to be strict about: who gets authenticated, what gets written into a log, which path a request actually resolves to, and what an error response is allowed to reveal.
If you run Puma — and if you run Rails, you almost certainly do, it’s been the default application server since Rails 5 — this post walks through what each of the five advisories actually breaks, what has to be true in your setup for it to matter, and exactly which version to upgrade to depending on where you’re starting from.
1. Summary
- Five advisories, zero CVEs (so far). All five are tracked only by GHSA ID. Puma’s own advisories explicitly list each one as “No known CVE” — that’s a paperwork gap, not a signal that these are less real.
- Severity spread: four rated Moderate (CVSS v4 scores of 6.3–6.9), one rated Low (2.3). Nothing in this batch is a “drop everything, we’re on fire” critical — but two of the five apply to every Puma deployment regardless of configuration, which is worth taking seriously on its own terms.
- Fixed versions:
7.2.4,8.0.5,8.1.3. If you’re on any version before the matching patch in your line, you’re affected by all five. - The pattern worth remembering: three of the five advisories only bite if a specific, less-common Puma feature is switched on (an SSL bind sourced from the
localhostgem,log_requests, or the built-in control server exposed over TCP). The other two apply unconditionally, to every Puma server, with no opt-in required.
2. The five vulnerabilities, at a glance
| Advisory | What breaks | Severity (CVSS v4) | Needs this config to matter |
|---|---|---|---|
| GHSA-r3wq-wqc8-m4pv | A TLS bind silently skips verify_mode/ca client-certificate checks |
Moderate (6.3) | ssl_bind with a cert supplied via the localhost gem |
| GHSA-rhp6-mwcq-4p4c | Unescaped control characters/invalid UTF-8 land in the error log | Moderate (6.9) | None — applies to every config |
| GHSA-9v95-fm6g-2gj5 | Same escaping gap, in the request log, via REMOTE_USER |
Low (2.3) | log_requests true |
| GHSA-w67v-xw8r-x55m | Absolute-form request targets can bypass a reverse proxy’s path rules | Moderate (6.3) | None — applies to every config, if a front-door proxy forwards absolute-form targets |
| GHSA-7q89-p6pc-544r | The built-in control server leaks stack traces and file paths on error | Moderate (6.9) | Control server bound to tcp:///ssl:// |
3. What’s actually broken, explained without the jargon
3.1 — The TLS bind that forgets to check who’s connecting
Puma can terminate TLS itself with ssl_bind, and one convenience it offers is letting the localhost gem supply a throwaway certificate instead of you pointing at your own cert/key files — handy for local development, and apparently used in a few production setups too. The bug: when Puma took that convenience path, it never actually applied the rest of your TLS options — verify_mode, ca, and friends — onto the resulting listener.
# config/puma.rb — this LOOKS like it enforces mutual TLS...ssl_bind '0.0.0.0', '9292', { verify_mode: 'peer', # intent: reject any client without a trusted certificate ca: '/etc/puma/trusted-ca.pem'}# ...but if this bind's certificate came from the `localhost` gem rather than an# explicit cert:/key: pair, Puma never actually wired verify_mode/ca onto the# socket before 7.2.4 / 8.0.5 / 8.1.3. The check you wrote simply never ran.In plain English: you wrote a config that says “only accept connections from clients presenting a certificate I trust,” Puma accepted that config without complaint, and then quietly didn’t enforce it. Anyone could connect without a client certificate at all, exactly as if verify_mode had been set to none. If you were relying on mutual TLS as an authentication mechanism — common in internal service-to-service setups — this is a silent, total bypass of that check, not a partial weakening of it.
Does this affect you? Only if Puma itself terminates TLS (most apps behind Heroku’s router, an ALB, or nginx never reach this — the proxy in front handles TLS and Puma only ever sees plain HTTP), and that bind’s certificate is supplied through the localhost gem rather than your own cert/key files directly.
3.2 — Poisoning your own error log
This one needs no special configuration at all. Whenever a request causes Puma to log an error, request data that ends up in the first line of that log entry was written out without escaping control characters or invalid UTF-8 bytes. That includes raw ANSI terminal escape sequences and carriage returns.
GET / HTTP/1.1Host: example.comX-Something: <a header value containing raw control characters>Why that matters more than it sounds: a log line isn’t just text sitting in a file — plenty of teams tail -f their logs directly in a terminal, or pipe them through a tool that renders ANSI escapes. A crafted escape sequence sitting in a log line can rewrite what the next person watching that log actually sees — overwrite previous lines, move the cursor, even hide evidence of exactly the request that caused the problem in the first place. This is the classic log injection → log forging pattern: the attacker isn’t breaking into anything, they’re manipulating the record of what happened, which is its own kind of damage when logs are your incident-response evidence.
Does this affect you? Yes, unconditionally — this is the one advisory in this batch with zero opt-in required. Any Puma server, in any configuration, writes error-log entries this way until patched.
3.3 — The same trick, smuggled through REMOTE_USER
A narrower sibling of the bug above. If you’ve turned on log_requests true (or run Puma with --log-requests), Puma writes a line to the request/access log for every request — and the REMOTE_USER value (the Rack environment variable populated from, say, HTTP Basic Auth credentials, or any middleware that sets it) had the same unescaped-control-character problem.
log_requests true# Somewhere upstream, a value that reached the request untouched gets# copied into REMOTE_USER — this is the dangerous shape, regardless of# where the value actually comes from:request.env['REMOTE_USER'] = some_value_derived_from_the_requestSend a request where that value contains a raw newline or control character, and it lands verbatim in your access log — same log-forging consequence as 3.2, just with a smaller blast radius, which is exactly why this one is rated Low rather than Moderate.
Does this affect you? Only if log_requests is enabled, and only if something in your stack copies attacker-influenced text into REMOTE_USER without sanitizing it first.
3.4 — Sneaking a different path past your reverse proxy
This is the subtlest one of the five, and worth sitting with. A normal HTTP request line looks like GET /admin HTTP/1.1 — just a path. HTTP also allows an absolute-form request target — the full URI, scheme and host included: GET http://example.com/admin HTTP/1.1. Real forward proxies send requests this way; it’s a legitimate, spec-defined form, not a hack.
The bug: before the fix, when Puma parsed an absolute-form target whose scheme wasn’t plain http/https, it mangled how it extracted the path component.
GET ftp://internal-host/admin/dangerous-action HTTP/1.1Host: example.comHere’s the part that makes this interesting rather than academic: if you have a reverse proxy in front of Puma (HAProxy, for example) enforcing a rule like “block anything starting with /admin,” that rule typically pattern-matches against the request target as the proxy parses it. If the proxy’s parsing of this oddly-schemed absolute-form target disagrees with Puma’s parsing of the same bytes, the path-based access rule and the path Puma actually routes to can silently diverge — a request that looks like it’s going nowhere interesting to the rule enforcing your access control turns out to land exactly on the path that rule was supposed to block.
Does this affect you? Only if something in front of Puma (a) forwards absolute-form request targets through unmodified, and (b) enforces path-based access rules on them. Puma with nothing but a TLS-terminating load balancer in front, and no path-based ACL anywhere, has nothing here for an attacker to bypass.
3.5 — The built-in admin panel that overshared
Puma ships an optional control server — a small built-in HTTP API for stopping, restarting, and introspecting the running Puma process, turned on explicitly with activate_control_app or --control-url. Before the fix, if a request to that control server triggered an error, the response included the full backtrace — file paths, line numbers, and the exact Puma version — in every environment, not just development.
# config/puma.rb — control server reachable over the network, not a local socketactivate_control_app 'tcp://0.0.0.0:9293', { auth_token: 'change-me-in-real-life' }In plain English: anyone who can reach that port — and who finds a request that errors before (or instead of) the auth-token check rejecting them — gets handed your exact Puma version and internal file layout for free. That’s not “game over” on its own, but it’s exactly the kind of information-disclosure bug that makes the next attack easier: knowing your precise Puma version tells an attacker exactly which other CVEs are worth trying against you.
Does this affect you? Only if the control server is enabled and bound to a network-reachable address (tcp:///ssl://) rather than a local Unix socket, which is the safer and more common way to run it.
Warning
Notice the split across these five: 3.2 and 3.4 need no opt-in at all — they apply to a
stock Puma server with no special configuration. The other three (3.1, 3.3, 3.5) only matter if
you’ve switched on a specific, less-common feature. Before you assume you’re in the clear,
grep your config/puma.rb and CLI flags for ssl_bind, log_requests, and
activate_control_app/--control-url — that’s the actual checklist, not a guess.
4. The fix, and the upgrade advisory matrix
All five advisories were patched together, across three simultaneous releases — one per actively maintained line:
| Your current Puma version | Upgrade to |
|---|---|
| Puma 7.x — anything before 7.2.4 | 7.2.4 |
| Puma 8.0.x — 8.0.0 – 8.0.4 | 8.0.5 |
| Puma 8.1.x — 8.1.0 – 8.1.2 | 8.1.3 |
| Anything older than the 7.x line | Upgrade to the newest maintained line your Rails/Ruby version supports, then apply the matrix above |
A few things worth being deliberate about, rather than just bumping the Gemfile.lock and moving on:
- This is a pure gem upgrade, not an interpreter rebuild. Unlike a Ruby-level memory-corruption fix, this one is a straightforward
bundle update puma(or pin the exact patch version in yourGemfile) — no container base image or system package needs touching. - Check your actual running version, not your
Gemfileconstraint. AGemfileline likegem 'puma', '>= 7.0'happily resolves to an old, vulnerable 7.x or 8.x patch version until you actually runbundle update pumaand commit the newGemfile.lock. A loose constraint isn’t protection by itself. - Run the checklist from the callout above before triaging by severity alone. A Moderate-rated bug that needs a feature you don’t use is lower real-world risk than it looks on paper; a Moderate bug with no opt-in required (3.2, 3.4) deserves attention even though nothing on your end “turned it on.”
- No CVE numbers exist for any of these five yet. If your patch-tracking process only acts once something shows up in a CVE feed, it will sit on this release for a while. Track it by the GHSA IDs directly instead.
5. Summary
Five advisories, one release cycle, no single scary bug — just five places where Puma’s behavior quietly drifted from what its own configuration promised: a TLS check that looked enforced but wasn’t, two log writers that let attacker-controlled bytes through unescaped, a path parser that could disagree with the proxy in front of it, and an admin panel that said more than it should have on error. None of these need a Ruby upgrade, a Rails upgrade, or a rewrite — just a bundle update puma to 7.2.4, 8.0.5, or 8.1.3 depending on which line you’re on.
If you take nothing else from this post: check what Puma version is actually in your Gemfile.lock right now, run it against the matrix in section 4, and if the opt-in features in section 3 (ssl_bind via the localhost gem, log_requests, a network-reachable control server) are part of your setup, treat this as this week’s upgrade, not next quarter’s.
Source: Puma v8.1.3 release notes, GitHub, published November 25, 2026, and its five linked security advisories (GHSA-r3wq-wqc8-m4pv, GHSA-rhp6-mwcq-4p4c, GHSA-9v95-fm6g-2gj5, GHSA-w67v-xw8r-x55m, GHSA-7q89-p6pc-544r).