{"schema":"threatline.record/2","record":{"id":"CVE-2026-107704","aliases":[],"summary":"image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format","details":"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.","categories":["Unclassified"],"product":"image_optimizer","vendor":"jtescher","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-107704","source_modified_at":"2026-10-09T14:05:27.930Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"image_optimizer","vendor":"jtescher","versions":[{"version":"1.3.0","lessThanOrEqual":"1.9.0","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":9.3,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.01663,"percentile":0.76535,"score_date":"2026-10-23"},"published_at":"2026-10-08T18:36:37.394Z","modified_at":"2026-10-09T14:05:27.930Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107704","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-09T14:05:27.930Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107704","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649d","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/jtescher/image_optimizer","tags":["product"]},{"source":"CVE List","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"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total","assessed_at":"2026-10-09T14:05:20.395722Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-09T14:05:27.930Z","content_hash":"4b4674804fe6fb5aa269363afac7c34a45f6c54136a41507f94ffb8d1a034cda"}}
