Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-107704: The image_optimizer Ruby gem 1.3.0 through 1.9.0 contains an OS command injection vulnerability in ImageOptimi

66
This week
CRITICAL 9.8REMOTE

CVE-2026-107704 is a critical-severity flaw (CVSS 9.8) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • CISA SSVC: public proof of concept
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance2.0% (top 19%)
CISA exploited listNo
WeaknessCWE-78
Published2026-10-08
Last modified2026-10-09
Publisher (CNA): VulnCheck

Share: LinkedIn · X · Reddit

Last updated 2026-10-09 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Timeline

Exact fixes by distribution

Fedora 46 · gcl · FIXED · 2.7.1-12.fc46 · FEDORA-2026-ff383a759b · source
sudo dnf upgrade --advisory=FEDORA-2026-ff383a759b
Fedora ELN · mozjs140 · FIXED · 140.13.0-5.eln159 · FEDORA-2026-f7ed0026e0 · source
sudo dnf upgrade --advisory=FEDORA-2026-f7ed0026e0
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-107704?

No fixed release is listed yet. Watch the vendor advisory and apply any mitigation shown on this page.

Is CVE-2026-107704 being exploited?

CVE-2026-107704 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-107704 affect?

CVE-2026-107704 affects affected software. Severity is critical (CVSS 9.8). 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 enable

How urgent is CVE-2026-107704?

Priority 66/100. Critical severity; CISA SSVC: public proof of concept; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Ruby vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.