Skip to main content

CVE-2026-100866: Improper Neutralization of Escape, Meta, or Control Sequences in o2sh onefetch

0
Medium
VulnerabilityCVE-2026-100866cvecve-2026-100866
Published: 09/27/2026 (09/27/2026, 13:09:52 UTC)
Source: CVE Database V5
Vendor/Project: o2sh
Product: onefetch

Description

CVE-2026-100866 is a medium severity vulnerability in onefetch up to version 2.28.1 where repository information fields are written to the terminal without sanitizing control characters. This allows attackers to inject terminal escape sequences via project manifest version and name fields, potentially manipulating terminal output or triggering emulator-specific behaviors when onefetch is run.

CVSS v4.0

Score 4.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

o2sh

onefetch

Affected versions
>=0 <=2.28.1
crates.iomore threats →ai
github/o2sh/onefetch
pkg:cargo/github/o2sh/onefetch
Affected versions
>=0 <=2.28.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/27/2026, 13:32:40 UTC

Technical Analysis

onefetch versions up to 2.28.1 improperly neutralize escape, meta, or control sequences in repository information fields. Specifically, the tool writes these fields directly to the terminal without removing ANSI/OSC escape sequences. An attacker can embed such sequences in project manifest version and name fields, enabling terminal escape sequence injection. This can lead to manipulation of terminal output such as rewriting window titles, hiding text, or triggering emulator-specific behaviors.

Potential Impact

The vulnerability allows an attacker to inject terminal escape sequences that can manipulate the victim's terminal display when onefetch is executed. This could be used to alter terminal output, obscure information, or cause unexpected terminal emulator behavior. There is no indication of privilege escalation or remote code execution. The CVSS score is 4.8 (medium severity), reflecting limited impact and requiring user interaction.

Mitigation Recommendations

No official patch or fix is currently referenced. Users should exercise caution when running onefetch on repositories with untrusted or potentially malicious manifest data. Monitor vendor advisories for updates or patches addressing this issue. Avoid running onefetch in sensitive environments until a fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-27T00:20:54.407Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab91798f7a7c541060d17ec

Added to database: 09/27/2026, 13:18:16 UTC

Last enriched: 09/27/2026, 13:32:40 UTC

Last updated: 09/27/2026, 17:46:01 UTC

Views: 17

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses