Skip to main content
EPSS 0.7%top 50%

CVE-2026-82710: CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences in ash-project usage_rules

0
Low
VulnerabilityCVE-2026-82710cvecve-2026-82710cwe-150
Published: 09/08/2026 (09/08/2026, 00:23:36 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: usage_rules

Description

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.

CVSS v4.0

Score 2.3low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

ash-project

usage_rules

Affected versions
>=0.1.18 <1.2.8

ash-project

usage_rules

usage_rules
pkg:hex/usage_rules
Affected versions
>=0.1.18 <1.2.8
GitHub Actionsmore threats →cve
ash-project/usage_rules
pkg:github/ash-project/usage_rules
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 01:07:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-09-07T20:30:01.990Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9f5c5dacd9273b49b3db8b

Added to database: 09/08/2026, 00:52:45 UTC

Last enriched: 09/08/2026, 01:07:50 UTC

Last updated: 10/08/2026, 06:48:20 UTC

Views: 77

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses