Skip to content
Rails 8.0.5.2 and 8.1.4.1

Rails 8.0.5.2 and 8.1.4.1

rubyonrails.org • November 4, 2026

Rails Versions 8.0.5.2 and 8.1.4.1 have been released. These are security updates addressing 21 security issues falling into a few themes:

Possible arbitrary file read, file write and remote code execution in Active Storage image and video processing

Possible Strong Parameters bypass in Parameters#each_key

Possible IP spoofing in remote_ip through the Forwarded header (8.1 only)

Multiple possible XSS vulnerabilities in Action View helpers, and one in the Active Support MessagePack serializer (8.1 only)

Possible DoS vulnerabilities in Active Support safe_constantize , Action Controller Live streaming, and Active Storage proxy mode and filename handling

Unsigned Content-Type and unenforced file size in Active Storage direct uploads to Google Cloud Storage

Session handling issues: a destroyed session restored by CacheStore , a session cookie leaked by Active Storage proxy mode, and a missing SameSite attribute on session cookies

Possible cache poisoning through content negotiation

Possible signature replay in Action Mailbox Mailgun ingress

We strongly recommend upgrading as soon as possible.

Older versions of Rails are unsupported, and users are recommended to upgrade to at least the 8.0 series. Security support for the 8.0 series ends on November 7, 2026. See our maintenance policy for details.

Here is a list of security issues that these releases address:

GHSA-f3w6-w445-fwh9 Possible arbitrary file write and read in Active Storage image analysis (Critical)

GHSA-v924-7rp8-4mxh Possible arbitrary file read and remote code execution in Active Storage video previews, analysis and image processing (High)

GHSA-wm3x-v3qw-4jh3 Possible Strong Parameters bypass in Parameters#each_key in Action Pack (High)

GHSA-2gff-2mmg-m73p Possible IP spoofing in Action Dispatch RemoteIp (8.1 only) (High)

GHSA-8474-xrp6-wh69 Possible DoS vulnerability in Active Support safe_constantize (High)

GHSA-2p2f-4rq4-gjwc Possible XSS vulnerability in Action View text helpers (Medium)

GHSA-v6rj-xm57-3p59 Possible XSS vulnerability in Action View highlight helper (Medium)

GHSA-rq8q-p985-fjq7 Possible XSS vulnerability in Action View strip_tags (Medium)

GHSA-68p9-83h6-5wpj Possible XSS vulnerability in Action View tag helpers (Medium)

GHSA-2w9f-fxwj-w2qf Possible XSS vulnerability in Active Support MessagePack serializer (8.1 only) (Medium)

GHSA-rwvh-fw6r-pwvp Possible DoS vulnerability in Action Controller Live streaming (Medium)

GHSA-4v2w-w6g6-f8f8 Possible DoS vulnerability in Active Storage proxy mode via storage errors during streaming (Medium)

GHSA-p2pm-g2h6-7j5j Possible DoS vulnerability in Active Storage filename handling (Medium)

GHSA-3w93-6hmw-whh4 Unsigned Content-Type in Active Storage GCS direct uploads with cache_control (Medium)

GHSA-hfr4-8rjc-97m2 Possible circumvention of file size limits in Active Storage direct uploads to Google Cloud Storage (Medium)

GHSA-2586-8ghr-69fj Possible restoration of destroyed sessions in Action Dispatch CacheStore (Medium)

GHSA-x6mj-8jx9-qhqv Possible sensitive session information leak in Active Storage proxy mode (Medium)

GHSA-r9jg-fmfx-2gv6 Possible cache poisoning in Action Pack content negotiation (Medium)

GHSA-3f4q-8x5m-76v8 Possible local file disclosure in Active Storage video previews and analysis (Low)

GHSA-5957-c7qm-m469 Possible signature replay in Action Mailbox Mailgun ingress (Low)

GHSA-gmj8-hvj3-49mw Missing SameSite attribute on session cookies from Action Pack session stores (Low)

Each GHSA links to patches that may be useful if you cannot immediately upgrade.

If you’d like to verify that your gems are the same as the ones we’ve uploaded, please use these SHA-256 hashes.

Extracted Entities

Attack Types (1)

Platforms (1)

Vulnerabilities (1)