CVE-2026-107704
Last modified
CVE-2026-107704 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.66% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| jtescher | image_optimizer | >= 1.3.0, <= 1.9.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-107704?
How severe is CVE-2026-107704?
How do I fix CVE-2026-107704?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107699ppt2png through 0.0.6 contains an OS command injection vulne…9.8
- CVE-2026-10770Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-107700dot-access 0.0.3 through 1.0.0 contains a code injection vul…9.8
- CVE-2026-107701dot-access through 1.0.0 contains a prototype pollution vuln…8.2
- CVE-2026-107702QloApps through 1.7.0 contains an authorization bypass vulne…4.3
- CVE-2026-107703@enmaso/node-convert through 1.0.0 contains an OS command in…9.8
- CVE-2026-107705Poppler 0.42.0 through 26.10.0 contains a stack-based buffer…6.5
- CVE-2026-107706Dolibarr ERP CRM before 24.0.2 contains an incorrect authori…4.3
- CVE-2026-107707Intego Antivirus for Windows through 3.0.0.1 contains a link…7.8
- CVE-2026-107708MIT krb5 through 1.22.2 contains a NULL pointer dereference …4.9
- CVE-2026-107709A path traversal vulnerability exists in Bower decompress-zi…7.8
- CVE-2026-10771A vulnerability was found in crmeb crmeb_java 1.4. Affected …7.3
Are you affected by CVE-2026-107704?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
