Skip to main content
VulnerabilityPublished Updated

CVE-2026-81856: hexpm hex · Improper Neutralization of Escape, Meta, or Control Sequences

Affects hexpm hexSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.02.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
hexpmhexAffected
  • >=0.0.1 <2.5.2
Fixed in
  • 2.5.2
hexhexpm/hexAffected
  • ≥ 211303e3f68f5d3ce06450c1ff1a7a770a9ab236, < 4a9a865c00add6985e04ce33e9c775df9cf8fc38
Fixed in–
GitHubhexpkg:github/hexOther threatsAffected
  • >=0.0.1 <2.5.2
Fixed in
  • 2.5.2

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

Community reviews

Loading reviews…