Security Digest · Vulnerability record

CVE-2025-24293: Active Storage allowed transformation methods that were potentially unsafe

Active Storage allowed transformation methods potentially unsafe Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default.

CVSS 9.2 Critical EPSS 5.5% · p93

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 5.5%, percentile 93: FIRST’s model estimates a 5.5% chance of exploitation activity in the next 30 days, higher than 93% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes activestorage (RubyGems) >= 8.0, < 8.0.2.1, fixed in 8.0.2.1; activestorage (RubyGems) >= 7.2, < 7.2.2.2, fixed in 7.2.2.2; activestorage (RubyGems) >= 5.2.0, < 7.1.5.2, fixed in 7.1.5.2. Check your lockfile, including transitive dependencies.

What it is

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 imageprocessing processing gem in addition to minimagick as the image processor. Vulnerable code will look something similar to this: 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 deployed. Credits ------- Thank you lio346 for reporting this!

From the GitHub advisory

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:

Impact ------ This vulnerability impacts applications that use Active Storage with the imageprocessing processing gem in addition to minimagick as the image processor.

Weakness type: CWE-94, CWE-77, CWE-88.

Product: activestorage (RubyGems) · Assigned by: hackerone · Published: 2026-01-30

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
RubyGemsactivestorage>= 8.0, < 8.0.2.18.0.2.1
RubyGemsactivestorage>= 7.2, < 7.2.2.27.2.2.2
RubyGemsactivestorage>= 5.2.0, < 7.1.5.27.1.5.2
VendorProductAffected versions (per CVE record)
Railsactivestorage5.2 < 5.*, 7.0 < 7.1.5.2, 8.0 < 7.0.2.1

Severity scores

Scored byCVSSScoreVector
hackerone4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
redhat-SADP3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub4.09.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
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: present (depends on deployment conditions)
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 5.47% probability of exploitation activity in the next 30 days; percentile 93.

Timeline

  • — GitHub-reviewed advisory GHSA-r4mg-4433-c7g3 published (critical)
  • — CVE record published by hackerone
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-r4mg-4433-c7g3 github.com
  2. CVE.org record CVE-2025-24293 cve.org
  3. NVD entry CVE-2025-24293 nvd.nist.gov

Other references from the CVE record and advisory

  1. access.redhat.com access.redhat.com
  2. RHBZ#2435565 bugzilla.redhat.com
  3. security.access.redhat.com security.access.redhat.com
  4. github.com github.com
  5. github.com github.com
  6. github.com github.com
  7. github.com github.com
  8. github.com github.com

Critical RubyGems advisories · Today’s Security Digest