CVE-2026-100866
onefetch through 2.28.1 writes repository information field values …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/o2sh/onefetch
- github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/utils/info
- github.com/o2sh/onefetch/blob/9beb80329cf2e5bd784270f668139f0bafb48e2b/src/info/version.rs
- github.com/o2sh/onefetch/issues/1828
- www.vulncheck.com/advisories/onefetch-through-2.28.1-terminal-escape-sequence-injection
- nvd.nist.gov/vuln/detail/CVE-2026-100866
- cve.org/CVERecord?id=CVE-2026-100866
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.