ADVISORIES

Vulnerability

CVE-2025-24293

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

17 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-2vj5-x89m-j5qr
    CVE-2025-24293 Chainguard Updated 27 October 2026
  • CGA-3fv4-fc92-p93j
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • CGA-7rhj-w76g-f756
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • CGA-9c35-32pv-68wx
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • CGA-9pmc-q8c7-8fq6
    CVE-2025-24293 Chainguard Updated 27 October 2026
  • CGA-cxvp-cqxc-px95
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • CGA-ffcg-8hcw-xg4r
    CVE-2025-24293 Chainguard Updated 27 October 2026
  • CGA-hc5x-jq28-h78j
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • CGA-qmxg-cfmm-4gcm
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • CGA-rv55-q27h-hm9v
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • CGA-wqm7-5q56-gxcp
    CVE-2025-24293 Chainguard Updated 27 October 2026
  • CGA-xjmw-c8rf-pfjm
    CVE-2025-24293 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2025-24293

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

    CVE-2025-24293 Debian Updated 1 September 2026
  • DLA-4416-1

    rails - security update

    CVE-2025-24293CVE-2025-55193 Debian Updated 20 November 2026
  • DSA-6090-1

    rails - security update

    CVE-2025-24293CVE-2025-55193 Debian Updated 20 November 2026
  • GHSA-r4mg-4433-c7g3

    Active Storage allowed transformation methods that were potentially unsafe

    Critical CVE-2025-24293 RubyGems Updated 31 January 2026
  • UBUNTU-CVE-2025-24293

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

    CVE-2025-24293 Ubuntu Updated 17 October 2026

References