PatchSiren cyber security CVE debrief
CVE-2026-100866 o2sh CVE debrief
CVE-2026-100866 onefetch Terminal Escape Sequence Injection. The vulnerability allows attackers to embed ANSI/OSC escape sequences in project manifest version and name fields, potentially manipulating terminal output, rewriting window titles, hiding text, or triggering emulator-specific behavior when victims run onefetch. Defenders should assess exposure and verify versions to prevent terminal output manipulation, focusing on systems using onefetch. This issue affects onefetch through 2.28.1, where repository information field values are written to the terminal without removing control characters.
- Vendor
- o2sh
- Product
- onefetch
- CVSS
- MEDIUM 4.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-27
- Original CVE updated
- 2026-09-27
- Advisory published
- 2026-09-27
- Advisory updated
- 2026-09-27
Who should care
Defenders responsible for systems using onefetch should assess exposure and verify versions to prevent terminal output manipulation. This includes reviewing project manifest version and name fields for ANSI/OSC escape sequences and implementing compensating controls to restrict terminal output manipulation. Prioritization should be given to verifying onefetch versions and assessing exposure, as terminal escape sequence injection can manipulate terminal
Why it matters
CVE-2026-100866 allows terminal escape sequence injection in onefetch, enabling attackers to manipulate terminal output. Defenders should verify onefetch versions and assess exposure to prevent potential terminal output manipulation.
- Terminal output manipulation through ANSI/OSC escape sequences
- Potential for hiding text or rewriting window titles
- Triggering emulator-specific behavior
- Requires verification of onefetch versions and exposure
Technical 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 exploit this by embedding 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. This vulnerability requires verification of onefetch versions and assessment of exposure to prevent potential terminal output manipulation.
Defensive priority
Defenders should prioritize verifying onefetch versions and assessing exposure, as terminal escape sequence injection can manipulate terminal output.
Recommended defensive actions
- Verify onefetch versions in use and assess exposure to CVE-2026-100866
- Review project manifest version and name fields for ANSI/OSC escape sequences
- Implement compensating controls to restrict terminal output manipulation
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, but do not specify affected or fixed versions beyond onefetch through 2.28.1. To verify exposure, defenders should check for onefetch versions in use, review project manifest version and name fields for ANSI/OSC escape sequences, and implement compensating controls to restrict terminal output manipulation. Evidence is limited, and further verification tasks are needed to ensure accurate assessment.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-100866 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-100866
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-100866 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-100866
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/o2sh/onefetch
-
Source reference
Unverified legacy reference
URL: https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/utils/info_field.rs
-
Source reference
Unverified legacy reference
URL: https://github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/version.rs
-
Source reference
Unverified legacy reference
URL: https://github.com/o2sh/onefetch/issues/1828
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/onefetch-through-2.28.1-terminal-escape-sequence-injection
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.