# CVE-2026-105668: Hex release-age cooldown is lifted package-wide when the locked release is retired

- Severity: High 7.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-12T15:31:58.926Z
- Modified: 2026-11-25T06:30:06.290Z
- Also known as: EEF-CVE-2026-105668, GHSA-pqhp-5x9x-69h7
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- hex: from 2.5.0 before 2.5.2
- hexpm/hex: from b4e665d46be8a5f81e8cbbe4c3a67058a19cf133 before *
- https://github.com/hexpm/hex: from b4e665d46be8a5f81e8cbbe4c3a67058a19cf133 before 1b6fddfeadd98ed26a143f60356efade0494e2ae; before eed2bdf85320ae9e244629511c03f5f3f8c5d0b5

## Every score

- EEF: CVSS:4.0 7.1 High `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`
- Erlang Ecosystem Foundation: CVSS:4.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`

## References

- <https://github.com/hexpm/hex/security/advisories/GHSA-pqhp-5x9x-69h7> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-105668.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-105668> (related)
- <https://github.com/hexpm/hex/commit/b4e665d46be8a5f81e8cbbe4c3a67058a19cf133> (related, web)
- <https://github.com/hexpm/hex/commit/1b6fddfeadd98ed26a143f60356efade0494e2ae> (fix, patch)
- <https://github.com/hexpm/hex/commit/eed2bdf85320ae9e244629511c03f5f3f8c5d0b5> (fix, patch)

## Sources

- CVE List: [CVE-2026-105668](https://www.cve.org/CVERecord?id=CVE-2026-105668), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-105668](https://osv.dev/vulnerability/EEF-CVE-2026-105668), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-105668](https://nvd.nist.gov/vuln/detail/CVE-2026-105668), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-105668 · Whole record: https://cve.day/CVE-2026-105668.json · Rebuilt by cve.day 2026-11-25T22:59:43.594Z
