What is CVE-2025-24293?
# Active Storage allowed transformation methods potentially unsafe Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default. The default allowed list contains three methods allow 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. Impact ------ 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: ``` 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. Workarounds ----------- 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](https://imagemagick.org/script/security-policy.php) deployed. Credits ------- Thank you [lio346](https://hackerone.com/lio346) for reporting this!
The record classifies CVE-2025-24293 under weakness classes CWE-94, CWE-77, CWE-88. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 265 days ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8.1 — HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v4.0 base score
- 9.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - EPSS (FIRST)
- 5.4% probability of exploitation in the next 30 days, higher than 92.5% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 9.8/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-01-30, last modified 2026-07-15
Is CVE-2025-24293 being exploited?
Weaponised exploit code for CVE-2025-24293 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 36 in the Threadlinqs vulnerability feed.
- usutani/study-turbolinks-link (github)
Affected products and versions
- Rails: activestorage
Affected software packages:
rubygems:activestorage— patched in 8.0.2.1rubygems:activestorage— patched in 7.2.2.2rubygems:activestorage— patched in 7.1.5.2
How to fix CVE-2025-24293
Fixed versions are recorded for 3 packages: rubygems:activestorage 8.0.2.1, rubygems:activestorage 7.2.2.2, rubygems:activestorage 7.1.5.2. No vendor patch reference has been recorded for CVE-2025-24293 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2025-24293
1 tracked threat in the Threadlinqs corpus references CVE-2025-24293, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories. Last verified by Threadlinqs on .