CVE-2026-105668
Hex release-age cooldown is lifted package-wide when the locked release is retired
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.
Who should check
- Anyone running hexpm hex >= 2.5.0, < 2.5.2
- Anyone running hexpm hex >= b4e665d46be8a5f81e8cbbe4c3a67058a19cf133, < *
Vulnerability facts
- Affected
- hexpm hex >= 2.5.0, < 2.5.2; hexpm hex >= b4e665d46be8a5f81e8cbbe4c3a67058a19cf133, < *
- Fixed in
- hexpm hex 2.5.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 0.58% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-693
- Modified
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
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
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-26).
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.