# CVE-2026-100866: onefetch through 2.28.1 Terminal Escape Sequence Injection

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA: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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-27T13:09:52.041Z
- Modified: 2026-09-30T17:32:07.107Z
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

onefetch through 2.28.1 writes repository information field values to the terminal without removing control characters, allowing terminal escape sequence injection. Attackers can embed ANSI/OSC escape sequences in project manifest version and name fields to manipulate terminal output, rewrite window titles, hide text, or trigger emulator-specific behavior when victims run onefetch.

(As written by CVE List.)

## Affected

- o2sh onefetch: up to 2.28.1

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/o2sh/onefetch/issues/1828> (issue-tracking)
- <https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/utils/info_field.rs#L43-L55> (technical-description)
- <https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/version.rs#L33-L35> (technical-description)
- <https://github.com/o2sh/onefetch> (product)
- <https://www.vulncheck.com/advisories/onefetch-through-2.28.1-terminal-escape-sequence-injection> (third-party-advisory)

## Sources

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

---

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