CVE-2026-82710Terminal escape sequence injection in mix usage_rules.search_docs via package…
Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in ash-project usage_rules allows a malicious package publisher to inject terminal control sequences into the output of mix usage_rules.search_docs. mix usage_rules.search_docs searches Hex documentation through search.hexdocs.pm, which indexes the documentation of every published package, and prints the matching results (title, package, type, doc reference, and highlighted snippets) to the terminal. The formatter in Mix.Tasks.UsageRules.SearchDocs interpolated those publisher-controlled fields verbatim, neutralizing no terminal control characters; the only transform it applied adds escape sequences rather than removing them. A malicious package can embed ANSI terminal escape sequences (cursor movement, line erase, carriage returns, OSC 52 clipboard writes) in its indexed documentation, so when a developer runs a search that surfaces those docs the sequences reach the terminal unchanged — forging the displayed hexdocs URL or a suggested command, hiding text, or writing to the clipboard. No authentication or privileged position is required; only publishing a package. This issue affects usage_rules: from 0.1.18 before 1.2.8.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ash-project usage_rules: affected: 0.1.18 to before 1.2.8; fixed in
1.2.8 - ash-project usage_rules: affected: 2da7a99536041d63ec1f391d019565789a59595f to before 3b8ebb4117d3272bbd436e6c2432113ba6685dbb; fixed in
3b8ebb4117d3272bbd436e6c2432113ba6685dbb
Vendor advisories:
- https://github.com/ash-project/usage_rules/security/advisories/GHSA-j59f-776f-23hp (vendor-advisory)
- https://github.com/ash-project/usage_rules/commit/3b8ebb4117d3272bbd436e6c2432113ba6685dbb (patch)
References
- https://github.com/ash-project/usage_rules/security/advisories/GHSA-j59f-776f-23hp
- https://cna.erlef.org/cves/CVE-2026-82710.html
- https://osv.dev/vulnerability/EEF-CVE-2026-82710
- https://github.com/ash-project/usage_rules/commit/2da7a99536041d63ec1f391d019565789a59595f
- https://github.com/ash-project/usage_rules/commit/3b8ebb4117d3272bbd436e6c2432113ba6685dbb
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.