ImageMagick Processing Vulnerability in Ruby on Rails ActiveStorage
CVE-2026-122006
9.8CRITICAL
What is CVE-2026-122006?
The ActiveStorage gem in Ruby on Rails versions prior to 8.1.4.1 contains a vulnerability related to ImageMagick attachment processing. When a file is attached, the ImageMagick analyzer executes, potentially allowing unauthorized read and write operations on the server. This could lead to the exposure of sensitive data, such as the secret_key_base, primarily because there is no associated ImageMagick security policy to prevent such unintended actions. It is crucial to upgrade to the latest version to mitigate this risk and enhance server security.
Affected Version(s)
Active Storage 0 < 8.0.5.2
Active Storage 8.1 < 8.1.4.1
