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.
Published: 2026-09-27
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Terminal Escape Sequence Injection, enabling UI manipulation and potential information disclosure
Action: Apply Patch
AI Analysis

Impact

The flaw in onefetch allows control characters to flow unfiltered into the terminal during display of repository metadata. Injection of ANSI or OSC escape sequences can change window titles, hide or reveal text, or invoke emulator‑specific actions. Although it does not provide code execution, the altered output may deceive users or obscure log messages, potentially facilitating social‑engineering attacks. The weakness maps to CWE‑150, reflecting improper handling of control characters.

Affected Systems

The vulnerability affects the onefetch tool from the o2sh:onefetch vendor, specifically all releases up to and including version 2.28.1. Users who run this version on any operating system that interprets terminal escape sequences are at risk.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. The EPSS score is not available, so current exploitation probability is unknown. The issue is not listed in CISA’s KEV catalog. The likely attack vector is local; an attacker must control the repository metadata shown by onefetch and may require the victim to run the tool in a terminal that interprets escape sequences. With that context, the risk is primarily in UI manipulation rather than privilege escalation or data loss.

Generated by OpenCVE AI on September 27, 2026 at 14:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade onefetch to a version newer than 2.28.1 once the fix is released.
  • Configure onefetch to sanitize or disable control characters before printing repository metadata.
  • Use a terminal emulator that blocks or ignores OSC and ANSI escape sequences, or run onefetch in a controlled environment with escaping disabled.

Generated by OpenCVE AI on September 27, 2026 at 14:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared O2sh
O2sh onefetch
Vendors & Products O2sh
O2sh onefetch

Sun, 27 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
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.
Title onefetch through 2.28.1 Terminal Escape Sequence Injection
Weaknesses CWE-150
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-30T15:40:20.298Z

Reserved: 2026-09-27T00:20:54.407Z

Link: CVE-2026-100866

cve-icon Vulnrichment

Updated: 2026-09-30T15:40:17.555Z

cve-icon NVD

Status : Deferred

Published: 2026-09-27T13:16:36.583

Modified: 2026-09-30T17:32:07.107

Link: CVE-2026-100866

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-28T16:24:37Z

Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences