---
id: CVE-2026-100866
title: >-
  onefetch through 2.28.1 writes repository information field values to the
  terminal without removing control characters, allowing terminal escape
  sequence injection
summary: >-
  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 versio…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'
cwe:
  - CWE-150
vendor: o2sh
product: onefetch
affected:
  - onefetch <= 2.28.1
published: '2026-09-27'
updated: '2026-09-27'
sourceUpdated: '2026-09-27T13:16:36.583'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100866'
references:
  - url: 'https://github.com/o2sh/onefetch'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/utils/info_field.rs#L43-L55
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/version.rs#L33-L35
    label: disclosure@vulncheck.com
  - url: 'https://github.com/o2sh/onefetch/issues/1828'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/onefetch-through-2.28.1-terminal-escape-sequence-injection
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-27T13:53:26.571Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
