---
id: "GHSA-wgv4-95jc-33jm"
page: "https://infrastack.ai/live/GHSA-wgv4-95jc-33jm"
kind: "vulnerability"
aliases: ["GHSA-wgv4-95jc-33jm"]
title: "Duplicate Advisory: Active Storage: Possible arbitrary file write and read in Active Storage image analysis"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "withdrawn"
category: "package"
products: [{"name": "activestorage", "fixed": [], "affected": "< 8.0.5.2", "ecosystem": "rubygems"}]
ecosystems: ["rubygems"]
tags: ["activestorage", "cwe-1188", "imagemagick", "package", "rails", "ruby"]
not_affected_if: ["no-image-attachments", "non-imagemagick-processor"]
published_at: "2026-11-04T15:32:31+00:00"
first_seen_at: "2026-11-12T23:49:07+00:00"
updated_at: "2026-11-12T23:51:10+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-wgv4-95jc-33jm", "first_seen_at": "2026-11-12T23:49:07+00:00"}]
exploit_sources: []
---

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

Link for people: https://infrastack.ai/live/GHSA-wgv4-95jc-33jm (this .md is for agents)

This advisory is withdrawn as a duplicate of GHSA-f3w6-w445-fwh9, so the live record is that one. The original text says Active Storage's ImageMagick analyzer, run when a file is attached, can let an attacker read and write files on the server, such as reading secret_key_base.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- rubygems:activestorage affected < 8.0.5.2 fixed no fixed version listed

## How to check

- Run `bundle exec rails -v` or check the `activestorage` version in `Gemfile.lock`
- Check whether the app uses Active Storage image analysis with ImageMagick (`config.active_storage.variant_processor` set to `:mini_magick`)
- Follow the live advisory GHSA-f3w6-w445-fwh9 for the affected range

## Timeline

- 2026-11-12T23:49:07+00:00 ghsa https://github.com/advisories/GHSA-wgv4-95jc-33jm

## From the sources

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-f3w6-w445-fwh9. This link is maintained to preserve external references.

## Original 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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
