CVE-2026-107704
image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format
jtescher image_optimizer
CVSS
9.3CriticalExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 9 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)1.66%Chance of exploitation activity in the next 30 days, higher than 76% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
The image_optimizer Ruby gem 1.3.0 through 1.9.0 contains an OS command injection vulnerability in ImageOptimizer#identify_format that allows attackers to execute commands by supplying a crafted image path when the identify option is enabled. Attackers controlling the path, such as an uploaded file name, can append shell metacharacters like ';' that are executed via Ruby backticks with the Ruby process privileges.
Text from CVE List
Affected versions 1
- image_optimizeraffected: 1.3.0 through 1.9.0CVE List
References 5
- vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-formatAdvisoryvia CVE List
- gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649dExploitvia CVE List
- github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47Referencevia CVE List
- github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32Referencevia CVE List
- github.com/jtescher/image_optimizerReferencevia CVE List