CVE-2026-107704Jtescher Image Optimizer OS command injection
CVSS score
9.3
Critical
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
2.05%
2.05% chance of exploitation in the next 30 days, higher than 81.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running jtescher Image Optimizer and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| jtescher Image Optimizer | ≥ 1.3.0, ≤ 1.9.0 |
Weakness
- CWE-78 OS command injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-107704 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 2.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-107704?
CVE-2026-107704 has a CVSS 4.0 base score of 9.3 (critical).
Which versions are affected?
Jtescher Image Optimizer (≥ 1.3.0, ≤ 1.9.0)
Is there a patch for CVE-2026-107704?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- gist.github.com/R3tro16/a99a058d24a06692721a6a3fade9649d
- github.com/jtescher/image_optimizer
- github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer.rb#L37-L47
- github.com/jtescher/image_optimizer/blob/v1.9.0/lib/image_optimizer/shell.rb#L30-L32
- www.vulncheck.com/advisories/image-optimizer-1.3.0-through-1.9.0-os-command-injection-via-identify-format
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.