CVE-2026-100866
Received Received - Intake

Terminal Escape Sequence Injection in Onefetch

Vulnerability report for CVE-2026-100866, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-27

Last updated on: 2026-09-27

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-27
Last Modified
2026-09-27
Generated
2026-09-27
AI Q&A
2026-09-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
o2sh onefetch to 2.28.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-150 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a terminal escape sequence injection in onefetch versions up to 2.28.1. It occurs when the tool writes repository information like version or name fields to the terminal without removing control characters. Attackers can embed ANSI or OSC escape sequences in these fields to manipulate terminal output, rewrite window titles, hide text, or trigger emulator-specific behavior when victims run onefetch.

Detection Guidance

Check if onefetch version 2.28.1 or earlier is installed by running: onefetch --version. If installed, inspect repository manifest files (e.g., package.json, Cargo.toml) for fields like version or project name containing escape sequences. Use grep to search for ANSI/OSC sequences in these files: grep -P "\x1b|\x9d" package.json Cargo.toml.

Impact Analysis

If you use onefetch versions up to 2.28.1, an attacker could trick you into running the tool on a malicious repository. This might allow them to alter your terminal display, hide important information, or even execute arbitrary actions through terminal emulator vulnerabilities. The impact depends on your terminal emulator and system configuration.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards. The issue involves terminal escape sequence injection in onefetch, which could allow attackers to manipulate terminal output or behavior. However, there is no evidence that this vulnerability leads to unauthorized data access, disclosure, or other violations of compliance requirements in these standards.

Mitigation Strategies

Upgrade onefetch to the latest version beyond 2.28.1. If upgrading is not possible, avoid running onefetch on untrusted repositories or sanitize manifest files manually to remove control characters before use.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-100866. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart