{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-107704", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2026-10-08T16:52:24.549Z", "datePublished": "2026-10-08T18:36:37.394Z", "dateUpdated": "2026-10-09T14:05:27.930Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-10-08T18:36:37.394Z" }, "datePublic": "2026-06-15T00:00:00.000Z", "title": "image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format", "descriptions": [ { "lang": "en", "value": "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." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')", "cweId": "CWE-78", "type": "CWE" } ] } ], "affected": [ { "vendor": "jtescher", "product": "image_optimizer", "defaultStatus": "unaffected", "versions": [ { "version": "1.3.0", "lessThanOrEqual": "1.9.0", "status": "affected", "versionType": "semver" } ], "packageURL": "pkg:gem/image_optimizer", "collectionURL": "https://rubygems.org/gems/image_optimizer", "repo": "https://github.com/jtescher/image_optimizer" } ], "metrics": [ { "format": "CVSS", "cvssV4_0": { "version": "4.0", "vectorString": "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", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "baseScore": 9.3, "baseSeverity": "CRITICAL" } }, { "format": "CVSS", "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" } } ], "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" ] }, { "name": "VulnCheck Advisory: image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format", "tags": [ "third-party-advisory" ], "url": "https://www.vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-format" } ], "credits": [ { "lang": "en", "value": "William Pierson (Retro16)", "type": "finder" } ], "x_generator": { "engine": "vulncheck-endgame" } }, "adp": [ { "references": [ { "url": "https://gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649d", "tags": [ "exploit" ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-10-09T14:05:20.395722Z", "id": "CVE-2026-107704", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-10-09T14:05:27.930Z" } } ] } }