6.6medium
Code injection in dye template expressions
- Severity
- 6.6medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mattieb dye | < 1.1.1 | CVE List |
| mattiebee dye | 1.1.0 | NVD |
All scores
| GitHub_M | 6.6medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
dye es una biblioteca de colores portátil y respetuosa para scripts de shell. Antes de 1.1.1, ciertas expresiones de plantilla de dye podrían resultar en la ejecución de código arbitrario. Este problema fue descubierto y corregido por el autor de dye, y no se tiene conocimiento de que haya sido explotado. Esta vulnerabilidad está corregida en 1.1.1.
References
| https://github.com/mattieb/dye/security/advisories/GHSA-3v4r-5vfh-3wjr | vendor-advisory | |
| https://mattiebee.io/dye-template-advisory | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35197 changed 2026-04-07 | CVE Terms of Use |
| NVD | CVE-2026-35197 changed 2026-07-24 | Public domain |