CVE-2025-24293: Rails activestorage vulnerability
Rails · activestorage
Vendor fix available · Affected: Rails activestorage · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 93% of scored CVEs
DescriptionCVE.org
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: ``` <%= 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. 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!
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Rails · activestoragefrom 5.2 before 5.*; from 7.0 before 7.1.5.2; from 8.0 before 7.0.2.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Rails
- Published
- January 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2025-24293 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-94cwe.mitre.org
- github.com/advisories/GHSA-r4mg-4433-c7g3github.com
- access.redhat.com/security/cve/CVE-2025-24293access.redhat.com
- Issue trackerbugzilla.redhat.com
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-24293.security.access.redhat.com