{"success":true,"data":{"threats":[{"id":"82e9e161-4c68-4f6d-bbc6-f79001f5c478","slug":"cve-2026-107704","externalId":"CVE-2026-107704","source":"NVD","sourceType":"cve-db","type":"vulnerability","title":"CVE-2026-107704 — The image_optimizer Ruby gem 1.3.0 through 1.9.0 contains an OS command injection vulnerability in ImageOptimizer#identify_format that allows attac…","description":"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.","cveId":"CVE-2026-107704","cvssScore":9.3,"cvssVector":"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","severity":"critical","vendor":null,"product":null,"affectedVersions":[],"cwes":["CWE-78"],"tags":["nvd","status:received","status:deferred"],"relatedCves":[],"titleFingerprint":null,"countryCodes":[],"knownExploited":false,"patchAvailable":false,"patchLinks":[],"references":[{"url":"https://gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649d","type":"advisory","title":"disclosure@vulncheck.com"},{"url":"https://github.com/jtescher/image_optimizer","type":"advisory","title":"disclosure@vulncheck.com"},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47","type":"advisory","title":"disclosure@vulncheck.com"},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32","type":"advisory","title":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-format","type":"advisory","title":"disclosure@vulncheck.com"}],"epssScore":null,"epssPercentile":null,"nucleiTemplatePath":null,"nucleiSeverity":null,"enrichment":null,"publishedAt":"2026-10-08T19:17:02.897Z","addedAt":"2026-10-08T19:33:17.072Z","updatedAt":"2026-10-08T23:06:39.172Z","epssUpdatedAt":null,"nucleiUpdatedAt":null,"links":[{"label":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107704","note":"ingested from NVD"},{"label":"CVE Program","url":"https://www.cve.org/CVERecord?id=CVE-2026-107704","note":"authoritative record"}],"raw":{"id":"CVE-2026-107704","cveTags":[],"metrics":{"cvssMetricV31":[{"type":"Primary","source":"disclosure@vulncheck.com","cvssData":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"},"impactScore":5.9,"exploitabilityScore":3.9}],"cvssMetricV40":[{"type":"Secondary","source":"disclosure@vulncheck.com","cvssData":{"Safety":"NOT_DEFINED","version":"4.0","Recovery":"NOT_DEFINED","baseScore":9.3,"Automatable":"NOT_DEFINED","attackVector":"NETWORK","baseSeverity":"CRITICAL","valueDensity":"NOT_DEFINED","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/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","exploitMaturity":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","userInteraction":"NONE","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","subIntegrityImpact":"NONE","vulnIntegrityImpact":"HIGH","integrityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","subAvailabilityImpact":"NONE","vulnAvailabilityImpact":"HIGH","availabilityRequirement":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","subConfidentialityImpact":"NONE","vulnConfidentialityImpact":"HIGH","confidentialityRequirement":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED"}}]},"affected":[{"source":"disclosure@vulncheck.com","affectedData":[{"repo":"https://github.com/jtescher/image_optimizer","vendor":"jtescher","product":"image_optimizer","versions":[{"status":"affected","version":"1.3.0","versionType":"semver","lessThanOrEqual":"1.9.0"}],"packageURL":"pkg:gem/image_optimizer","collectionURL":"https://rubygems.org/gems/image_optimizer","defaultStatus":"unaffected"}]}],"published":"2026-10-08T19:17:02.897","references":[{"url":"https://gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649d","source":"disclosure@vulncheck.com"},{"url":"https://github.com/jtescher/image_optimizer","source":"disclosure@vulncheck.com"},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47","source":"disclosure@vulncheck.com"},{"url":"https://github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32","source":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-format","source":"disclosure@vulncheck.com"}],"vulnStatus":"Deferred","weaknesses":[{"type":"Primary","source":"disclosure@vulncheck.com","description":[{"lang":"en","value":"CWE-78"}]}],"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."}],"lastModified":"2026-10-08T21:35:53.890","sourceIdentifier":"disclosure@vulncheck.com"}}],"pagination":{"page":1,"limit":20,"total":1,"totalPages":1,"hasNext":false,"hasPrev":false}},"meta":{"apiVersion":"v1","requestedAt":"2026-10-08T23:52:57.051Z","durationMs":6,"filters":{"search":null,"severity":[],"type":[],"country":[],"tag":[],"cwe":[],"vendor":null,"product":null,"cve":"CVE-2026-107704","source":[],"days":null,"publishedAfter":null,"publishedBefore":null,"minCvss":null,"maxCvss":null,"minEpss":null,"knownExploited":null,"hasPatch":null,"hasNucleiTemplate":null},"sort":"newest","unknownParams":["include"],"warnings":[]}}