Rails Daily: Multipart Security Patch and Connection Pool Fixes

Rails patched the Rack multipart parser to block arbitrary encodings after exploit use, and fixed two connection pool leaks that could cause timeouts. A follow-up deadlock on non-MRI Rubies and CI hardening round out the day.

Duration: PT2M6S

Episode overview

This episode is a short developer briefing from Rails Daily.

It explains recent repository work in plain language.

  • Show: Rails Daily
  • Published: 2026-11-20T06:02:10Z
  • Audio duration: PT2M6S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hello, it's November 20th, 2026.

The headline is a defensive security patch for file uploads, paired with two fixes for slow connection pool leaks that could cause timeouts.

First, multipart handling. Pull request 59872 patches the Rack multipart parser to no longer honor arbitrary encodings in form data, after that capability was used twice in exploit chains. There is no known legitimate use, and the change anticipates an upstream option in Rack 3 point 3 and a default in Rack 4 point…

Second, connection pool reliability. Pull request 59843 ensures that when reaping steals a connection from a dead thread and the reset fails, that connection is removed instead of staying checked out to the reaping thread until restart. Pull request 59844 preserves leases across a disconnect that happens during…

Finally, supply-chain and boot resilience. Pull request 59846 hardens generated Continuous Integration workflows by pinning actions to commit hashes to blunt tag-repoint attacks. Open pull request 59876 would ignore an unloadable schema cache dump instead of raising on every access, which helps after upgrades or…

What's next: test upload flows with unusual filenames, watch pool metrics after…

Nearby episodes from Rails Daily

  1. Parity Fixes, Constraint Handling, and Memory Win
  2. Write Blocks, Upload Fixes, and Security Guide Rewrite
  3. Quiet Data Fixes and Thread Safety
  4. Association Fixes and Pool Leaks
  5. Association Integrity Fixes and Postgres Schema Cleanup
  6. Weekly Recap - Active Record Correctness and Performance
  7. Nested Through Preload Scope Fixes
  8. Hot-Path Performance and Isolation Fixes