CVE-2026-105668

7.1High

Published Oct 12, 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash

7.1CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
High
User action
Active
Impact
Full C/I/A compromise
Weakness
CWE-693

What an attacker gets

A compromised or malicious package owner can bypass release cooldown protections and force downstream builds running mix deps.update to immediately pull a newly published malicious release. This requires package owner permissions and depends on a developer running an update that unlocks the retired package.

Root cause

Retiring a locked package release lifts the release-age cooldown for all versions of that package across repositories without properly validating release age.

Affected versions

hex from 2.5.0 before 2.5.2

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade hex to version 2.5.2 or later. If upgrading must wait, enforce package cooldowns through an organization dependency policy, which is not affected by this bypass.

remediation — bash
$ mix local.hex --force

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

Protection Mechanism Failure vulnerability in hexpm hex allows the owner of a package, or an attacker who has taken over the owner's account, to get a newly published release past the release-age cooldown. The cooldown (cooldown config, HEX_COOLDOWN) withholds versions younger than the configured age during dependency resolution. When the release of a package locked in mix.lock is retired or has a security advisory, Hex.RemoteConverger.build_cooldown_bypass/3 and Hex.RemoteConverger.unsafe_lock_bypass/1 lift the cooldown for every version of that package and of every package the locked release depends on, so that mix deps.update can move off the unsafe release. Retiring a release needs the same package owner permission as publishing one. An attacker who publishes a malicious release can retire the currently locked release, and the next mix deps.update that unlocks the package selects the new release regardless of its age. Hex.Registry.Cooldown.versions/2 checks the bypass by package name alone, so the bypass also covers packages with the same name in other repositories. Cooldown configured through an organization dependency policy is not affected. This issue affects hex: from 2.5.0 before 2.5.2.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-105668

More fully triaged vulnerabilities you may want to check next.