Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107704— image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format

Quick assessment

Affected
jtescher image_optimizer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Ruby Gems 中的 image_optimizer 1.3.0 到 1.9.0 版本存在操作系统命令注入漏洞。该漏洞位于 方法中,当启用 选项时,攻击者可通过提供精心构造的图像路径来执行任意命令。 如果攻击者能够控制图像路径(例如通过上传文件名),则可以在路径中注入 shell 元字符(如分号 ),这些字符将通过 Ruby 的反引号(backticks)执行,并以当前 Ruby 进程的权限运行。

CVSS 9.8 · Critical

Affected Version Matrix 1

VendorProduct Version RangeStatus
jtescher image_optimizer 1.3.0≤ 1.9.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-107704

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
image_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_format
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
jtescher image_optimizer 1.3.0 ~ 1.9.0 -

II. Public POCs for CVE-2026-107704

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-107704

请登录查看更多情报信息。

Other References for CVE-2026-107704 (5)

IV. Related Vulnerabilities

V. Comments for CVE-2026-107704

No comments yet


Leave a comment