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?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| hexNiche | >= 2.5.0, < 2.5.2 | 2.5.2 |
What to do
Update to a fixed version: 2.5.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.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
- Prerequisites multiplied together0.063
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.063 × threat 0.850.535
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 12 Oct 2026 Published
- 3 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-693
References
- https://github.com/hexpm/hex/security/advisories/GHSA-pqhp-5x9x-69h7related, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-105668.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-105668related
- https://github.com/hexpm/hex/commit/b4e665d46be8a5f81e8cbbe4c3a67058a19cf133related
- https://github.com/hexpm/hex/commit/1b6fddfeadd98ed26a143f60356efade0494e2aepatch
- https://github.com/hexpm/hex/commit/eed2bdf85320ae9e244629511c03f5f3f8c5d0b5patch
- CVE-2026-105668 on CVE.org