CVE-2026-81856: hexpm hex · Improper Neutralization of Escape, Meta, or Control Sequences
Affects hexpm hexSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 2.5.2 when convenient.
Data as of 27 Nov 2026, 04:14 UTC
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 2.3 |
|---|
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade hexpm hex to 2.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hexpmhex | Affected
| Fixed in
|
| hexhexpm/hex | Affected
| Fixed in– |
GitHubhexpkg:github/hexOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in hex version 2.5.2. Users and administrators should upgrade to version 2.5.2 or later to mitigate this vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
CVE-2026-81856 is a vulnerability in hexpm hex versions from 0.0.1 up to but not including 2.5.2. It allows malicious package publishers or hostile repository servers to inject terminal control sequences into the output of Mix tasks, potentially forging displayed information or manipulating terminal behavior. The vulnerability arises because hex prints strings from package metadata and other sources directly to the terminal without neutralizing control characters. This can lead to misleading or manipulated terminal output, including forged URLs, descriptions, or clipboard writes. The issue is fixed in version 2.5.2.
References
- github.com/hexpm/hex/security/advisories/GHSA-fpmj-3cxg-p766 (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-81856.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-81856 (opens in a new tab)
- github.com/hexpm/hex/commit/211303e3f68f5d3ce06450c1ff1a7a770a9ab236 (opens in a new tab)
- github.com/hexpm/hex/commit/dd3305ddf0032f6d0b468fd40dbbc3072bfcb8b8 (opens in a new tab)
- github.com/hexpm/hex/commit/4a9a865c00add6985e04ce33e9c775df9cf8fc38 (opens in a new tab)