CVE-2026-107704
CVSS v3
9.8
CRITICAL
EPSS Score
—
exploit probability
CISA KEV
No
known exploited
Exploitation
—
SSVC status
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-10-08
- Last Modified
- 2026-10-08
Frequently asked questions
What is 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 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.
Is CVE-2026-107704 actively exploited?
Active exploitation of CVE-2026-107704 has not been confirmed.
What is the CVSS score for CVE-2026-107704?
CVE-2026-107704 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Is CVE-2026-107704 affecting your environment?
Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.
No credit card required · 50 free checks/month · Free API key
Other 2026 vulnerabilities worth triaging
Ranked by exploit probability (EPSS).
- CVE-2026-10520KEV
- CVE-2026-24061KEV
- CVE-2026-1281KEV
- CVE-2026-1340KEVUnauthenticated Remote Code Execution via Code Injection in Ivanti Endpoint Manager Mobile
- CVE-2026-41940KEV
- CVE-2026-23760KEVSmarterTools SmarterMail < Build 9511 Authentication Bypass via Password Reset API
- CVE-2026-21643KEVSQL Injection Vulnerability in FortiClientEMS 7.4.4 Allows Unauthenticated Remote Code Execution
- CVE-2026-85706KEV