{"id":"CVE-2026-107704","published":"2026-10-08T18:36:37Z","modified":"2026-10-09T14:05:27Z","title":"image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format","vendor":"jtescher","product":"image_optimizer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03037,"percentile":0.88237,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649d","tags":["third-party-advisory"]},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47","tags":["technical-description"]},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32","tags":["technical-description"]},{"url":"https://github.com/jtescher/image_optimizer","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-format","tags":["third-party-advisory"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":17.65},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"jtescher","affectedVersions":[{"vendor":"jtescher","product":"image_optimizer","versions":[">= 1.3.0, <= 1.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-09T14:05:20.395722Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-95149","exploited":false,"provenance":"source"}}