CVE-2026-105668
published high CVSS 4.0 · 7.1Hex release-age cooldown is lifted package-wide when the locked release is retired
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hexpm | — | hex2.5.0 to < 2.5.2 · Other versions: unaffected | Affected | Not stated | EEF |
| hexpm | — | hexpm/hexhex · b4e665d46be8a5f81e8cbbe4c3a67058a19cf133 and later (affected · git); changes: unaffected at 1b6fddfeadd98ed26a143f60356efade0494e2ae, unaffected at eed2bdf85320ae9e244629511c03f5f3f8c5d0b5 · Other versions: unaffected | Version-specific | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hexpm | hex | 2.5.0 to < 2.5.2 (affected · semver)Default: unaffected | EEF · cna |
| hexpm | hex | b4e665d46be8a5f81e8cbbe4c3a67058a19cf133 and later (affected · git); changes: unaffected at 1b6fddfeadd98ed26a143f60356efade0494e2ae, unaffected at eed2bdf85320ae9e244629511c03f5f3f8c5d0b5Default: unaffected | EEF · cna |
Weaknesses
1- CWE-693 CWE-693 Protection Mechanism Failure
References
6- EEF CNA record for CVE-2026-105668 https://cna.erlef.org/cves/CVE-2026-105668.html
- Fix commit 1b6fddf in hexpm/hex https://github.com/hexpm/hex/commit/1b6fddfeadd98ed26a143f60356efade0494e2ae
- Introducing commit b4e665d in hexpm/hex https://github.com/hexpm/hex/commit/b4e665d46be8a5f81e8cbbe4c3a67058a19cf133
- Fix commit eed2bdf in hexpm/hex https://github.com/hexpm/hex/commit/eed2bdf85320ae9e244629511c03f5f3f8c5d0b5
- GitHub Advisory https://github.com/hexpm/hex/security/advisories/GHSA-pqhp-5x9x-69h7
- OSV record EEF-CVE-2026-105668 https://osv.dev/vulnerability/EEF-CVE-2026-105668
Provider assertions
2EEF · cna
Hex release-age cooldown is lifted package-wide when the locked release is retired
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0cfcaf8f5016b662ac6a1f591e2df649d4cd31c7b3c5969da2e2e3448618d13a
- Ingested
- 20 Nov 2026, 06:18:48 UTC
- Source record
- Official CVE record