CVE-2026-100866: onefetch through 2.28.1 Terminal Escape Sequence Injection

Published Sep 27, 2026
·
Updated

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.

Affected Software

1 affected component
onefetch<=2.28.1

Event History

Sep 27, 2026
CVE Published
via MITRE·01:09 PM
Data Sourced
via MITRE·01:09 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users who run onefetch on repositories whose project manifest name or version fields can be attacker-controlled are exposed. Exploitation occurs when the crafted field value is written to the victim's terminal.

2

What does an attacker need to exploit it?

An attacker needs to place ANSI or OSC escape sequences in a project manifest's name or version field and induce a victim to run onefetch against that repository. No privileges are required, but user interaction is required because the victim must execute onefetch.

3

What is the practical impact?

The escape sequences can manipulate terminal output, hide text, rewrite terminal window titles, or invoke behavior specific to the victim's terminal emulator. The reported impact is limited to integrity; no confidentiality or availability impact is specified.

4

How can I tell whether a repository may be dangerous to inspect with onefetch?

Inspect project manifest name and version values for control characters or ANSI/OSC escape sequences before running onefetch. The issue affects onefetch through version 2.28.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203