CVE-2026-122006 The activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow server read and write opera

Critical 9.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-122006?

CVE-2026-122006 is a critical vulnerability in rubyonrails Active Storage, published on 4 Nov 2026.

Official 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.

Weakness: CWE-1188

Which versions are affected by CVE-2026-122006?

How do I fix CVE-2026-122006?

Upgrade to a fixed version.

Is CVE-2026-122006 being exploited?

There is no known exploitation of CVE-2026-122006 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-122006, UBUNTU-CVE-2026-122006.

Is CVE-2026-122006 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free