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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-35197— Code injection in dye template expressions

Quick assessment

Affected
mattieb dye
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.

dye是Mattie个人开发者的一个为Shell脚本输出添加颜色和样式的便携库。 dye 1.1.1之前版本存在代码注入漏洞,该漏洞源于某些模板表达式可能导致执行任意代码。

CVSS 6.6 · Medium EPSS 0.42% · P35

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-35197

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
Code injection in dye template expressions
Source: CVE Program / CVE List V5
Vulnerability Description
dye is a portable and respectful color library for shell scripts. Prior to 1.1.1, certain dye template expressions would result in execution of arbitrary code. This issue was discovered and fixed by dye's author, and is not known to be exploited. This vulnerability is fixed in 1.1.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
dye 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
dye是Mattie个人开发者的一个为Shell脚本输出添加颜色和样式的便携库。 dye 1.1.1之前版本存在代码注入漏洞,该漏洞源于某些模板表达式可能导致执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
mattieb dye < 1.1.1 -

II. Public POCs for CVE-2026-35197

# 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-35197

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

Security Blog Posts for CVE-2026-35197 (1)

IV. Related Vulnerabilities