# CVE-2026-35197: Code injection in dye template expressions

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-06T19:39:23.095Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- mattieb dye: < 1.1.1
- mattiebee dye: 1.1.0

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://mattiebee.io/dye-template-advisory> (exploit, vendor-advisory)
- <https://github.com/mattieb/dye/security/advisories/GHSA-3v4r-5vfh-3wjr> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-35197](https://www.cve.org/CVERecord?id=CVE-2026-35197), CVE Terms of Use, modified 2026-04-07
- NVD: [CVE-2026-35197](https://nvd.nist.gov/vuln/detail/CVE-2026-35197), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-35197 · Whole record: https://cve.day/CVE-2026-35197.json · Rebuilt by cve.day 2026-11-25T22:59:18.060Z
