CVSS 4.0
6.9 mediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:NMedium (6.9) in hexpm hex. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:NExplain CVE-2026-105280 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-105280?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-105280?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-105280 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| hexpm hex | from 0.20.2 before 2.5.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13 | erlang-hex | no fix listed | DEBIAN-CVE-2026-105280 |
| Debian | 14 | erlang-hex | 2.5.3-2 | DEBIAN-CVE-2026-105280 |
| Ubuntu | 24.04:LTS, 26.04:LTS, 26.10 | erlang-hex | no fix listed | UBUNTU-CVE-2026-105280 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
A moderate severity vulnerability was found in hex, the package manager for the Erlang/Elixir ecosystem. When 'mix hex.package fetch PACKAGE VERSION --output -' streams a package to standard output, hex writes the bytes returned by Hex.SCM.fetch/3 without comparing the tarball's inner and outer checksums against the repository's signed registry, a verification that is performed when output is written to a file. A malicious or compromised package mirror configured through HEX_MIRROR_URL or mirror_url can therefore substitute the tarball written to standard output; in addition, diagnostics that hex prints to standard output (bodies of failed HTTP responses and API warnings) can deliver an attacker-controlled archive ahead of the verified tarball. Build pipelines that unpack standard output can consequently extract substituted files without detecting tampering, which can lead to arbitrary code execution. Red Hat rates this flaw moderate severity with a CVSS 3.1 base score of 5.3 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N), lower than the upstream CVSS 4.0 score of 6.9, mainly because exploitation requires the non-default combination of a configured mirror and standard-output fetching. Within Red Hat's product scope this issue affects the community rust-hex component in Fedora and EPEL; resolution is delegated and a fix is being pursued through the community process.
Avoid streaming fetched packages directly to standard output. Run 'mix hex.package fetch PACKAGE VERSION --output FILE' instead of '--output -' so that hex verifies the tarball's inner and outer checksums against the signed registry; a fetch of altered bytes to a file fails with a checksum mismatch. Configure only trusted mirrors (HEX_MIRROR_URL or mirror_url), and do not pipe or unpack unverified standard output in automated build pipelines. The upstream fix is available in hex 2.5.2; updating to a version containing this fix is recommended when it becomes available through your distribution.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-105280.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.