Skip to content

hex

Hex release-age cooldown is lifted package-wide when the locked release is retired

CVE-2026-105668Published 12 Oct 2026, 15:31 UTC

Real-world risk

0.5/ 10Low

Routine

If the vulnerable configuration applies to you: 1.2

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.1

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from EEF)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
hexNiche>= 2.5.0, < 2.5.22.5.2

What to do

Update to a fixed version: 2.5.2.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.5% chance of exploitation in 30 days (percentile 43), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.063
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.063 × threat 0.850.535
  4. Rounded to one decimal between 0.1 and 100.5

How the score works

Exploitation and evidence timeline

  1. 12 Oct 2026 Published
  2. 3 Dec 2026 Risk 0.5 (cvss fallback)

Weakness

CWE-693

References

Get alerts for hex

Free email or text alerts when a vulnerability in hex reaches risk 8 or higher. Nothing else.