CVE & CISA-KEV Catalog

CVE-2025-24293

HIGHEPSS 82th pctl
8.1
CVSS v3
NVD

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 deployed. Credits ------- Thank you lio346 for reporting this!

How to fix

Remediation Available
railsDebian
Fixed in:2:6.0.3.7+dfsg-2+deb11u4CVE-2025-24293
Fixed in:2:6.1.7.10+dfsg-1~deb12u2CVE-2025-24293
Fixed in:2:7.2.2.2+dfsg-2~deb13u1CVE-2025-24293
Fixed in:2:7.2.2.2+dfsg-1CVE-2025-24293

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

2.39%probability of exploitation in 30 days
82ndpercentile

Elevated risk: more likely to be exploited than 82% of all known CVEs.

References

Related Vulnerabilities

Other CWE-77 (Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2024-21887Critical9.1100%KEV + Ransom-
CVE-2023-1671Critical9.8100%KEVFix
CVE-2023-1389High8.8100%KEVFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2012-1823Critical9.8100%KEVFix
Embed a live status badge for CVE-2025-24293
CVE-2025-24293 severity badge

Markdown

[![CVE-2025-24293](https://tridentstack.com/cve/badge/CVE-2025-24293.svg)](https://tridentstack.com/cve/CVE-2025-24293)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-24293"><img src="https://tridentstack.com/cve/badge/CVE-2025-24293.svg" alt="CVE-2025-24293"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-15.