REDHAT-BUG-2435565: Command Injection

Published Jan 30, 2026
·
Updated

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 imageprocessing processing gem in addition to minimagick as the image processor.

Vulnerable code will look something similar to this: <%= imagetag 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!

Affected Software

1 affected component
Ruby on Rails Active Storage

Event History

Jan 30, 2026
Data Sourced
via Red Hat·09:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2435565?

The severity of REDHAT-BUG-2435565 is rated high with a score of 7.

2

How do I fix REDHAT-BUG-2435565?

To fix REDHAT-BUG-2435565, implement stricter controls and validations on the allowed active storage transformation methods.

3

What type of attack is associated with REDHAT-BUG-2435565?

REDHAT-BUG-2435565 is associated with command injection vulnerabilities.

4

What does REDHAT-BUG-2435565 affect?

REDHAT-BUG-2435565 affects Ruby on Rails Active Storage by allowing unsafe image transformation methods.

5

What are the potential risks of REDHAT-BUG-2435565?

The risks of REDHAT-BUG-2435565 include the possibility of security breaches through exploitation of unsafe transformations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203