Intel

AIKIDO-2026-618726

image_processing is vulnerable to Remote Code Execution (RCE)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 6, 2026
August 6, 2026

93

CVE Score

Critical

Remote Code Execution (RCE)

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.

How do I fix this?

Upgrade the image_processing library to the patch version.

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.

Versions

0.10.0 - 2.0.2

Fixed in 2.0.3

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea