CVE Index中文
L3 · ShartedRails · Active Storage · RCErails-november-security

Rails fixes Active Storage file access and code execution in a 21-advisory security release

Rails 8.0.5.2 and 8.1.4.1 fix 21 issues, including crafted-upload file access and possible code execution in Active Storage. ImageMagick policy, Disk storage and FFmpeg build options determine exposure. Update Rails and mini_magick, review GCS upload CORS, and rotate potentially exposed secrets. No real-world attacks are established.

Disclosed
Nov 4, 2026
Public disclosure date
Severity
Sharted
2 CVEs tracked here
Splash zone
Rails accepting untrusted attachments processed by ImageMagick or FFmpeg; other batch flaws have separate configuration prerequisites.
Rails · Active Storage · RCE
In the wild
Unknown
Vendor advisories describe attack paths, not confirmed real-world exploitation.

What happened

This is one coordinated Rails release, not 21 separate incidents. The two upload-processing advisories detailed above affect activestorage below 8.0.5.2 and 8.1 releases before 8.1.4.1. They are configuration-dependent; neither a default modern Rails deployment nor every FFmpeg build is necessarily exposed. No victim count or confirmed in-the-wild campaign is established.

For the ImageMagick flaw, untrusted attachment uploads and a permissive coder policy are enough to reach analysis. Disk storage adds the documented arbitrary-read exposure; file contents can include credentials that enable further attacks. For the decoder flaw, attacker-chosen filename extensions influence external processing; the described native-library execution route needs additional AviSynth build/runtime support. Lack of AviSynth does not address all extension-driven decoding risks.

The other 19 advisories cover parameter handling, IP spoofing, XSS, denial of service, GCS direct uploads, session handling, cache negotiation and Mailgun signature replay. The complete batch and individual configuration prerequisites are linked in the release and sources. Upgrading the batch is preferable to assuming only the two highlighted paths matter. GCS CORS, processing policies, dependency compatibility and secret replacement need explicit checks beyond changing a version number. The new policy denies dangerous coders and delegates; do not broadly re-enable them to make a failing workflow pass.

What’s in the bowl

GHSA-f3w6-w445-fwh9

ImageMagick attachment analysis file write/read

Untrusted attachments reach unsafe ImageMagick coders; arbitrary writes and, with Disk storage, reads may expose application secrets and enable further code execution.

GHSA-v924-7rp8-4mxh

Upload filename selects an unsafe media decoder

Attacker-chosen extensions can select FFmpeg/ImageMagick decoders. The AviSynth path additionally needs an AviSynth-enabled FFmpeg and AviSynthPlus runtime.

Fixed versions

ProductSafe fromNote
Rails 8.0 / affected component gems8.0.5.2Security support for Rails 8.0 ends November 7, 2026
Rails 8.1 / affected component gems8.1.4.1Security release
Older Rails linesNo fixUnsupported; migrate to a supported line
mini_magick for :mini_magick applications5.1Minimum required for the shipped policy; not a standalone Rails fix

Crime-scene timeline

  1. Nov 4, 2026

    Rails releases both supported-line security updates

    The batch addresses 21 advisories; the critical ImageMagick and high-severity media-decoder issues have no assigned CVE in their original records.

Who said what

We list each claim and who made it. Primary sources (the vendor, the researcher, the registry) are marked. Where reports disagree, we grade by the worst credible case.

  • Rails November 4 security releasePrimary21-advisory batch, fixed versions, maintenance deadline and links to each original advisory.
  • Rails GHSA-f3w6-w445-fwh9PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-v924-7rp8-4mxhPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-wm3x-v3qw-4jh3PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-2gff-2mmg-m73pPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-8474-xrp6-wh69PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-2p2f-4rq4-gjwcPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-v6rj-xm57-3p59PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-rq8q-p985-fjq7PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-68p9-83h6-5wpjPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-2w9f-fxwj-w2qfPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-rwvh-fw6r-pwvpPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-4v2w-w6g6-f8f8PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-p2pm-g2h6-7j5jPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-3w93-6hmw-whh4PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-hfr4-8rjc-97m2PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-2586-8ghr-69fjPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-x6mj-8jx9-qhqvPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-r9jg-fmfx-2gv6PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-3f4q-8x5m-76v8PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-5957-c7qm-m469PrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.
  • Rails GHSA-gmj8-hvj3-49mwPrimaryMaintainer-authored original read through its public GitHub API; configuration-specific impact, patches and mitigation.