GHSA-f3w6-w445-fwh9ImageMagick 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.
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.
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.
GHSA-f3w6-w445-fwh9Untrusted attachments reach unsafe ImageMagick coders; arbitrary writes and, with Disk storage, reads may expose application secrets and enable further code execution.
GHSA-v924-7rp8-4mxhAttacker-chosen extensions can select FFmpeg/ImageMagick decoders. The AviSynth path additionally needs an AviSynth-enabled FFmpeg and AviSynthPlus runtime.
| Product | Safe from | Note |
|---|---|---|
| Rails 8.0 / affected component gems | 8.0.5.2 | Security support for Rails 8.0 ends November 7, 2026 |
| Rails 8.1 / affected component gems | 8.1.4.1 | Security release |
| Older Rails lines | No fix | Unsupported; migrate to a supported line |
| mini_magick for :mini_magick applications | 5.1 | Minimum required for the shipped policy; not a standalone Rails fix |
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.
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.