Loading advisory.
Loading advisory.
Active Storage allowed transformation methods that were potentially unsafe
Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default.
Published 2025-08-14 00:06 UTC · Modified 2026-07-15 01:26 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| activestorage | RubyGems | >= 8.0, < 8.0.2.1 >= 7.2, < 7.2.2.2 >= 5.2.0, < 7.1.5.2 versions 8.0.0, 8.0.0.1, 8.0.1, 8.0.2, 7.2.0, 7.2.1, 7.2.1.1, 7.2.1.2, 7.2.2, 7.2.2.1, 5.2.0, 5.2.1, 5.2.1.1, 5.2.1.rc1, 5.2.2, 5.2.2.1, 5.2.2.rc1, 5.2.3, 5.2.3.rc1, 5.2.4 and 132 more | 8.0.2.1, 7.2.2.2, 7.1.5.2 | gem install activestorage -v 8.0.2.1gem install activestorage -v 7.2.2.2gem install activestorage -v 7.1.5.2 |
Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default.
The default allowed list contains three methods allowing for the circumvention of the safe defaults which enables potential command injection vulnerabilities in cases where arbitrary user supplied input is accepted as valid transformation methods or parameters.
This has been assigned the CVE identifier CVE-2025-24293.
Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.1.5.2, 7.2.2.2, 8.0.2.1
This vulnerability impacts applications that use Active Storage with the image_processing processing gem in addition to mini_magick as the image processor.
Vulnerable code will look something similar to this:
<%= image_tag blob.variant(params[:t] => params[:v]) %>Where the transformation method or its arguments are untrusted arbitrary input.
All users running an affected release should either upgrade or use one of the workarounds immediately.
The fixed releases are available at the normal locations.
Consuming user supplied input for image transformation methods or their parameters is unsupported behavior and should be considered dangerous.
Strict validation of user supplied methods and parameters should be performed as well as having a strong ImageMagick security policy deployed.
Thank you lio346 from Unit 515 of OPSWAT for reporting this!
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.056 on 2026-11-24 to 0.075 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.056 | first score | v2026.06.15 |
| 2026-11-26 | 0.075 | 0.056 | v2026.06.15 |