Intel

AIKIDO-2026-618726

image_processing is vulnerable to Remote Code Execution (RCE)

Remote Code Execution (RCE) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

93

Critical Risk

This Affects:

RUBYimage_processing
0.10.0 - 2.0.2
Fixed in 2.0.3
Are you affected? Scan for Free

TL;DR

Operation and MiniMagick loader/saver option names taken from caller input are dispatched to the underlying image library without fully checking whether the name resolves to an unsafe Ruby core method. A crafted name can invoke methods such as eval, send, or instance_eval, so an attacker who controls those names can execute arbitrary Ruby code or shell commands on the server. The fix validates every operation and loader/saver option name at the point it is dispatched, closing bypasses that slipped past the outer-level checks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and build image_processing operations or MiniMagick loader/saver options from untrusted input.

Background info

image_processing is vulnerable to Remote Code Execution (RCE) in versions 0.10.0 - 2.0.2.

How to fix this

Upgrade the image_processing library to the patch version.