Command Injection Vulnerability in Active Storage by Rails
CVE-2025-24293
What is CVE-2025-24293?
The Active Storage feature of Rails has a vulnerability that allows unsafe image transformation methods, which can lead to command injection attacks. This occurs when an application accepts arbitrary and untrusted user input as valid transformation methods or parameters. Such vulnerabilities are particularly impactful when used in conjunction with the image_processing gem and mini_magick as an image processor. Developers must exercise strict validation of inputs and should not rely on default methods that could be exploited. To safeguard against this vulnerability, it is recommended to upgrade to the latest version or implement strong validation policies for user inputs alongside a robust ImageMagick security policy.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
activestorage 5.2 < 5.*
activestorage 7.0 < 7.1.5.2
activestorage 8.0 < 7.0.2.1
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
