activestorage <8.1.4.1 (Rails) ImageMagick file processing RCE
CVE-2026-122006 Published on November 4, 2026
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.
Vulnerability Analysis
CVE-2026-122006 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
Insecure Default Initialization of Resource
The software initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure.
Products Associated with CVE-2026-122006
Want to know whenever a new CVE is published for Ruby on Rails Active Storage? stack.watch will email you.
Affected Versions
rubyonrails Active Storage:- Before 8.0.5.2 is affected.
- Version 8.1 and below 8.1.4.1 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.