Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-122006 CVE-2026-126082EUVD-2026-116914GHSA-f3w6-w445-fwh9GHSA-wgv4-95jc-33jm

Active Storage: Possible arbitrary file write and read in image analysis

Published Nov 4, 2026 · Updated Nov 9, 2026 · Assigned by mitre

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.

Affected products

VendorProductAffectedFixed
rubyonrails Active Storage < 8.0.5.2, 8.1 – < 8.1.4.1 8.0.5.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails No fix yet —
Debian 13 rails No fix yet —
Debian 12 rails No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activestorage >= 8.1.0.beta1, < 8.1.4.1 8.1.4.1 GHSA-f3w6-w445-fwh9
RubyGems activestorage < 8.0.5.2 8.0.5.2 GHSA-f3w6-w445-fwh9

Advisories 1

References