Threat Feed

CVE-2026-122006: The activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow…

Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-04

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.

Enclave's analysis

Active Storage in Rails runs ImageMagick analysis when a file is attached. There's no ImageMagick security policy by default, so a crafted upload could let the server read or write files, like secret_key_base. Attackers need an upload path that reaches ImageMagick. No public exploit or in-the-wild use is confirmed, and the advisory couldn't be read. Upgrade to 8.0.5.2 or 8.1.4.1, and lock down ImageMagick with a restrictive policy.

Fix

Upgrade Active Storage to 8.0.5.2 or 8.1.4.1; Active Storage (activestorage gem) to 8.0.5.2 or 8.1.4.1.

Affected versions

ProductVulnerableFixed in
Active Storage0 before 8.0.5.28.0.5.2
Active Storage8.1 before 8.1.4.18.1.4.1
Active Storage (activestorage gem)all versions before 8.0.5.28.0.5.2
Active Storage (activestorage gem)8.1 line before 8.1.4.18.1.4.1

Seen in 4 sources