Live threats

All CVEs / rubyonrails

CVE-2026-122006rubyonrails Active Storage

Unauthenticated File Read and Write in Ruby on Rails Active Storage

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Nov 4, 2026
Updated
Nov 12, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1188
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The activestorage gem before 8.1.4.1 for Ruby on Rails allows server read and write operations when a file is attached with ImageMagick processing, as the ImageMagick analyzer runs without a security policy to block unintended functionality. An unauthenticated attacker can read sensitive files such as secret_key_base or write to the file system.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

The activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow server read and write operations (e.g., reading secret_key_base) because the ImageMagick analyzer runs when a file is attached, and there is not an ImageMagick security policy to block unintended functionality.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 8.1.4.1, 8.0.5.2

Update activestorage to version 8.1.4.1 or 8.0.5.2 depending on your Rails branch. Ensure ImageMagick has a security policy configured.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for Active Storage.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activestorage ≥ 8.1.0.beta1 < 8.1.4.1 8.1.4.1 gem "activestorage", ">= 8.1.4.1"
RubyGems activestorage < 8.0.5.2 8.0.5.2 gem "activestorage", ">= 8.0.5.2"

Per OSV / GitHub Advisories (GHSA-f3w6-w445-fwh9). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

On social media

1 person and 2 posts on Bluesky in the last 30 days.

Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky

Official sources

References

Links published by the sources. Open them with care.