CVE-2026-122006

GHSA-f3w6-w445-fwh9 · published 4 Nov 2026 · updated 16 Nov 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.

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 8.0.5.2, 8.1.4.1, activestorage 8.0.5.2 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
rubyonrails<8.0.5.2, >=8.1 <8.1.4.18.0.5.2, 8.1.4.1
rubygems: activestorage<8.0.5.2, >=8.1.0.beta1 <8.1.4.18.0.5.2, 8.1.4.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in activestorage (RubyGems), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-122006 severity on Zeptric[![CVE-2026-122006](https://zeptric.io/badge/cve/CVE-2026-122006.svg)](https://zeptric.io/cve/CVE-2026-122006)