CVE-2026-122006

Active Storage: Possible arbitrary file write and read in image analysis

Critical published · updated · also known as GHSA-F3W6-W445-FWH9

9.8
CVSS score out of 10 · NVD (mitre.org)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
activestorage rubygems >= 8.1.0.beta1, < 8.1.4.18.1.4.1 GitHub
activestorage rubygems < 8.0.5.28.0.5.2 GitHub

References