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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: High; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-28)
- **CWE:** CWE-693
- **Published:** 2026-10-12T15:31:58.926Z
- **Modified:** 2026-11-20T06:17:17.500Z

## Who should check

- Anyone running hexpm hex \>= 2.5.0, \< 2.5.2
- Anyone running hexpm hex \>= b4e665d46be8a5f81e8cbbe4c3a67058a19cf133, \< \*

## 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.

## Affected and fixed versions

- hexpm hex: \>= 2.5.0, \< 2.5.2 (cvelist)
- hexpm hex: \>= b4e665d46be8a5f81e8cbbe4c3a67058a19cf133, \< \* (cvelist)

## Mitigation

- Upgrade hex to 2.5.2 or later.
- Vendor workaround: Enforce the cooldown through an organization dependency policy instead of the local cooldown setting, or run mix hex.audit before mix deps.update and don't update a package whose locked release was retired until its replacement has been reviewed.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-105668. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-105668.md
Affected: hexpm hex >= 2.5.0, < 2.5.2; hexpm hex >= b4e665d46be8a5f81e8cbbe4c3a67058a19cf133, < *
Fixed in: hexpm hex 2.5.2

Steps:
1. Search this machine and project for hexpm hex: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-105668 being exploited?

There is no confirmed exploitation: CVE-2026-105668 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-105668?

High: CVSS 7.1 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-105668?

hexpm hex \>= 2.5.0, \< 2.5.2; hexpm hex \>= b4e665d46be8a5f81e8cbbe4c3a67058a19cf133, \< \*.

### Is there a fix for CVE-2026-105668?

Yes. Fixed in hexpm hex 2.5.2. Upgrade hex to 2.5.2 or later. Vendor workaround: Enforce the cooldown through an organization dependency policy instead of the local cooldown setting, or run mix hex.audit before mix deps.update and don't update a package whose locked release was retired until its replacement has been reviewed.

### How do I check if I'm affected by CVE-2026-105668?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-105668>

HTML: <https://flawdb.com/CVE-2026-105668> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-105668>
