CVE-2026-107704

Source
https://cve.org/CVERecord?id=CVE-2026-107704
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107704.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-107704
Published
2026-10-08T18:36:37Z
Modified
2026-10-28T02:31:07Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-78"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107704.json"
}
References

Affected packages

Git / github.com/jtescher/image_optimizer

Affected ranges

Type
GIT
Repo
https://github.com/jtescher/image_optimizer
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "1.3.0"
                },
                {
                    "last_affected":  "1.9.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "1.3.0"
                },
                {
                    "last_affected":  "1.9.0"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v1.*
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.6.1
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107704.json"