CVE-2026-82710: CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences in ash-project usage_rules
CVE-2026-82710 is a vulnerability in ash-project usage_rules where terminal control sequences are not properly neutralized in output generated by mix usage_rules.search_docs. This allows a malicious package publisher to inject ANSI escape sequences into terminal output, potentially forging displayed URLs, hiding text, or writing to the clipboard. The issue affects versions from 0.1.18 up to but not including 1.2.8. No authentication or elevated privileges are required to exploit this vulnerability.
AI Analysis
Technical Summary
The vulnerability arises because the formatter in Mix.Tasks.UsageRules.SearchDocs interpolates publisher-controlled fields verbatim without neutralizing terminal control characters. Instead of removing escape sequences, it adds escape sequences, allowing malicious packages to embed ANSI terminal escape sequences such as cursor movement, line erase, carriage returns, and OSC 52 clipboard writes in their indexed documentation. When a developer runs a search that surfaces these malicious docs, the escape sequences are rendered unchanged in the terminal, enabling manipulation of the terminal display or clipboard. This affects usage_rules versions from 0.1.18 before 1.2.8.
Potential Impact
A malicious package publisher can cause terminal output to be manipulated when developers run documentation searches, potentially forging URLs, hiding or altering displayed text, or writing arbitrary data to the clipboard. This could mislead users or cause unintended clipboard content changes. No authentication or privileged access is required, only the ability to publish a package. The CVSS score is low (2.3), reflecting limited impact and required user interaction.
Mitigation Recommendations
No official patch or remediation level is provided in the advisory. Users should upgrade to usage_rules version 1.2.8 or later once available, as the vulnerability affects versions before 1.2.8. Until then, be cautious when running mix usage_rules.search_docs commands that display documentation from untrusted or unknown package sources. Monitor vendor advisories for updates and patches.
CVE-2026-82710: CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences in ash-project usage_rules
Description
CVE-2026-82710 is a vulnerability in ash-project usage_rules where terminal control sequences are not properly neutralized in output generated by mix usage_rules.search_docs. This allows a malicious package publisher to inject ANSI escape sequences into terminal output, potentially forging displayed URLs, hiding text, or writing to the clipboard. The issue affects versions from 0.1.18 up to but not including 1.2.8. No authentication or elevated privileges are required to exploit this vulnerability.
CVSS v4.0
Score 2.3low
Affected software
cpe:2.3:a:ash-project:usage_rules:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the formatter in Mix.Tasks.UsageRules.SearchDocs interpolates publisher-controlled fields verbatim without neutralizing terminal control characters. Instead of removing escape sequences, it adds escape sequences, allowing malicious packages to embed ANSI terminal escape sequences such as cursor movement, line erase, carriage returns, and OSC 52 clipboard writes in their indexed documentation. When a developer runs a search that surfaces these malicious docs, the escape sequences are rendered unchanged in the terminal, enabling manipulation of the terminal display or clipboard. This affects usage_rules versions from 0.1.18 before 1.2.8.
Potential Impact
A malicious package publisher can cause terminal output to be manipulated when developers run documentation searches, potentially forging URLs, hiding or altering displayed text, or writing arbitrary data to the clipboard. This could mislead users or cause unintended clipboard content changes. No authentication or privileged access is required, only the ability to publish a package. The CVSS score is low (2.3), reflecting limited impact and required user interaction.
Mitigation Recommendations
No official patch or remediation level is provided in the advisory. Users should upgrade to usage_rules version 1.2.8 or later once available, as the vulnerability affects versions before 1.2.8. Until then, be cautious when running mix usage_rules.search_docs commands that display documentation from untrusted or unknown package sources. Monitor vendor advisories for updates and patches.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-09-07T20:30:01.990Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a9f5c5dacd9273b49b3db8b
Added to database: 09/08/2026, 00:52:45 UTC
Last enriched: 09/08/2026, 01:07:50 UTC
Last updated: 09/08/2026, 01:07:50 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.