CVE Catalog

CVE-2026-122006

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker could exploit this vulnerability to read sensitive data such as secret keys, potentially leading to further compromise of the application. Unauthorized write operations on the server are also possible.

Recommendation

Update the activestorage gem to version 8.1.4.1 or later. Additionally, implement a restrictive ImageMagick security policy to limit unintended functionality.

Related vulnerabilities

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS