Skip to content
Heist/ feed
Back to feed
Medium

onefetch through 2.28.1 Terminal Escape Sequence Injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-100866
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:06 UTC · Revision 1

Source evidence

onefetch through 2.28.1 Terminal Escape Sequence Injection

core-osv · Original source

Published 27 Sept 2026, 13:09 UTC

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.

osv:CVE-2026-100866
Complete source record
{
  "id": "65cbac105de99966c5b224398d7203006883a3c06e3f53052f2dd159a23cae37",
  "url": "https://osv.dev/vulnerability/CVE-2026-100866",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "onefetch through 2.28.1 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 version and name fields to manipulate terminal output, rewrite window titles, hide text, or trigger emulator-specific behavior when victims run onefetch.",
    "evidence": "osv:CVE-2026-100866",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-100866",
      "aliases": [
        "CVE-2026-100866"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/o2sh/onefetch",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "9beb80329cf2e5bd784270f668139f0bafb48e2b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.28.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.28.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.28.1",
            "2.28.0",
            "2.27.1",
            "2.27.0",
            "2.26.1",
            "2.26.0",
            "2.25.0",
            "2.24.0",
            "2.23.1",
            "2.23.0",
            "2.22.0",
            "2.21.0",
            "2.20.0",
            "2.19.0",
            "2.18.1",
            "2.18.0",
            "2.17.1",
            "2.17.0",
            "2.16.0",
            "2.15.1",
            "2.15.0",
            "2.14.2",
            "2.14.1",
            "2.14.0",
            "v2.13.2",
            "v2.13.1",
            "v2.13.0",
            "v2.12.0",
            "v2.11.0",
            "v2.10.1",
            "v2.10.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.0",
            "v2.7.3",
            "v2.7.2",
            "v2.7.1",
            "v2.7.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0",
            "v1.7.0",
            "v1.6.5",
            "v1.6.0",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.0.5",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100866.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.559287996Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100866.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-100866",
        "https://www.vulncheck.com/advisories/onefetch-through-2.28.1-terminal-escape-sequence-injection",
        "https://github.com/o2sh/onefetch/issues/1828",
        "https://github.com/o2sh/onefetch",
        "https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/utils/info_field.rs#L43-L55",
        "https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/version.rs#L33-L35"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-150"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100866.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-100866",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490050,
  "published_at": "2026-09-27T13:09:52.041+00:00"
}