PoC Monitor
← All CVEs
CVE-2025-24293published 30 Jan 2026 20:11 UTCData: JSON · API

Rails activestorage

# 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!

First public PoC 207 daysafter publication · 25 Aug 2026 · Metasploit
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.2critical · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Rails activestorage
  • >= 5.2, < 5.*
  • >= 7.0, < 7.1.5.2
  • >= 8.0, < 7.0.2.1

Fixed in 5.*, 7.1.5.2, 7.0.2.1

Mitigation

Upgrade activestorage to 5.* or 7.1.5.2 or 7.0.2.1 or later.

References

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180CVE published30 Jan 2026 · t = 0First public PoC25 Aug 2026 · t+207d

First public PoC 207 days after publication; not in CISA KEV. First PoC: Metasploit exploit: Ruby on Rails Active Storage Vips Arbitrary File Read and Remote Code Execution (exploit/multi/http/rails_activestorage_vips_rce) (Metasploit, 25 Aug 2026).

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
usutani/study-turbolinks-link 5 Apr 2020 −5.8 y 0 Informational · detection

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.