Improper Neutralization of Control Sequences in Hex Package Manager by Hexpm
CVE-2026-81856

2.3LOW

Key Information:

Vendor

Hexpm

Status
Vendor
CVE Published:
12 October 2026

What is CVE-2026-81856?

The vulnerability in the Hex package manager arises from its failure to neutralize control sequences in outputs delivered to the terminal. Malicious package publishers can exploit this flaw to inject ANSI escape sequences into Mix task outputs, thereby manipulating terminal behavior. This could mislead users by forging URLs, concealing actual output, or even affecting the clipboard content. The flaw spans various outputs, including package metadata and error messages, and requires no authentication, enabling anyone to publish a package potentially containing harmful sequences. This issue is present in Hex versions from 0.0.1 up to 2.5.1.

Affected Version(s)

hex 0.0.1 < 2.5.2

hex 211303e3f68f5d3ce06450c1ff1a7a770a9ab236

References

CVSS V4

Score:
2.3
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Zach Daniel
Eric Meadows-Jönsson
Jonatan Männchen
Jonatan Männchen
.