CVE-2026-122006

activestorage: activestorage: arbitrary file read and write via ImageMagick attachment analysis

Published Nov 4, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f3w6-w445-fwh9 Active Storage: Possible arbitrary file write and read in image analysis
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title ImageMagick Attachment Processing Allows Server Read/Write Operations in Active Storage activestorage: activestorage: arbitrary file read and write via ImageMagick attachment analysis
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Title ImageMagick Attachment Processing Allows Server Read/Write Operations in Active Storage
Type Values Removed Values Added
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.
First Time appeared Rubyonrails
Rubyonrails active Storage
Weaknesses CWE-1188
CPEs cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:*:*:*
Vendors & Products Rubyonrails
Rubyonrails active Storage
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 9, 2026, 9:12 PM
Reserved
Nov 4, 2026, 2:12 PM
Status
Awaiting Analysis
Published
Nov 4, 2026, 3:17 PM
Modified
Nov 12, 2026, 10:09 PM
Severity
Important
Public date
Nov 4, 2026, 2:12 PM