All reports
High

OS Command Injection in MiniMagick

Affected versions

RubyGemsmini_magick
Affected versions
< 4.9.4
Fixed version
4.9.4

Exploitation

CVE-2019-13574

Probability of exploitation in the next 30 days: 7.64%

FIRST EPSS · 2026-11-21

Description

In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution because Image.open input is directly passed to Kernel#open, which accepts a | character followed by a command.

Links