{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-107704","published":"2026-10-08T19:17:02.897000Z","last_modified":"2026-10-09T15:17:08.667000Z","status":"Deferred","cvss":{"version":"4.0","score":9.3,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-78"],"cpes":[],"cpes_truncated":false,"vendors":["jtescher"],"products":["jtescher/image_optimizer"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-107704/","html_en":"/en/cve/CVE-2026-107704/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107704","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107704"},"untrusted":{"vendor_name":"jtescher","product_name":"image_optimizer","desc_en":"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.","affected":[{"untrusted_vendor":"jtescher","untrusted_product":"image_optimizer","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"bfa346cd80a33e1f38adaeb21e1c9b84","generated":"2026-11-26T21:54:13.199536Z","es":{"untrusted_title":"Inyección de comandos del sistema operativo en image_optimizer Ruby gem","untrusted_summary":"La gema Ruby image_optimizer versiones 1.3.0 a 1.9.0 contiene una vulnerabilidad de inyección de comandos del sistema en el método identify_format. Un atacante sin autenticación puede ejecutar comandos arbitrarios controlando la ruta de la imagen, como en nombres de archivos subidos, inyectando metacaracteres de shell que se ejecutan con los privilegios del proceso Ruby."},"en":{"untrusted_title":"OS Command Injection in image_optimizer Ruby gem","untrusted_summary":"The image_optimizer Ruby gem versions 1.3.0 through 1.9.0 contains an OS command injection vulnerability in the identify_format method. An unauthenticated attacker can execute arbitrary commands by controlling the image path, such as through uploaded file names, injecting shell metacharacters that execute with Ruby process privileges."},"remediation":{"status":"unknown","fixed_versions":[],"untrusted_action_es":"Actualiza image_optimizer a una versión posterior a 1.9.0 cuando esté disponible. Mientras tanto, desactiva la opción identify o valida y sanitiza las rutas de imagen antes de procesarlas.","untrusted_action_en":"Update image_optimizer to a version after 1.9.0 when available. In the meantime, disable the identify option or validate and sanitize image paths before processing.","vendor_url":"https://github.com/jtescher/image_optimizer"},"reviewed":false},"references":[{"url":"https://gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649d","tags":[]},{"url":"https://github.com/jtescher/image_optimizer","tags":[]},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47","tags":[]},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32","tags":[]},{"url":"https://www.vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-format","tags":[]}]}}