CVE-2026-107704image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format
Updated under an hour ago ()
Does this affect you?
It affects jtescher image_optimizer. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 1.66%, higher than 76% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 9.8 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 1.66% (percentile 76)
- Assigned by
- VulnCheck
- NVD analysis
- Deferred
- Record last updated
- Oct 9, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
jtescher image_optimizer jtescher:image_optimizer (from the name) | from 1.3.0 through 1.9.0 | CNA record |
References
- https://gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649dthird-party-advisory
- https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47technical-description
- https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32technical-description
- https://github.com/jtescher/image_optimizerproduct
- https://www.vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-formatthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.