Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-24293

CRITICAL 9.2EPSS 95%

Active Storage allowed transformation methods that were potentially unsafe

Also known as GHSA-r4mg-4433-c7g3

Mitigation

  • Upgrade activestorage to one of 8.0.2.1, 7.2.2.2, 7.1.5.2 (or later in the same release line).

Who should check

  • Projects that depend on RubyGems package activestorage (>= 8.0, < 8.0.2.1)
  • Anyone running Rails activestorage >= 5.2, < 5.*; >= 7.0, < 7.1.5.2; >= 8.0, < 7.0.2.1

Vulnerability facts

Affected
activestorage >= 8.0, < 8.0.2.1
Fixed in
8.0.2.1, 7.2.2.2, 7.1.5.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
7.55% chance of exploitation in 30 days (percentile 95, 2026-11-26)
CWE
CWE-77, CWE-94, CWE-88
Published
Modified

Description

# 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 and fixed versions

Package / productAffectedFixedSource
RubyGems activestorage>= 8.0, < 8.0.2.18.0.2.1, 7.2.2.2, 7.1.5.2osv
Rails activestorage>= 5.2, < 5.*; >= 7.0, < 7.1.5.2; >= 8.0, < 7.0.2.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-24293. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-24293.md
Affected: activestorage >= 8.0, < 8.0.2.1
Fixed in: 8.0.2.1, 7.2.2.2, 7.1.5.2

Steps:
1. Search this machine and project for activestorage (RubyGems), Rails activestorage: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-24293 being exploited?

There is no confirmed exploitation: CVE-2025-24293 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 7.55% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-24293?

Critical: CVSS 9.2 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-24293?

activestorage >= 8.0, < 8.0.2.1.

Is there a fix for CVE-2025-24293?

Yes. Fixed in 8.0.2.1, 7.2.2.2, 7.1.5.2. Upgrade activestorage to one of 8.0.2.1, 7.2.2.2, 7.1.5.2 (or later in the same release line).

How do I check if I'm affected by CVE-2025-24293?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors