CVE-2026-107704

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductJtescher Image Optimizer
PublishedOct 8, 2026
First seenOct 8, 2026

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
jtescher image_optimizer1.3.0 ≤ v ≤ 1.9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-107704 · Jtescher Image Optimizer · Dark Radar