{"affected":[{"defaultStatus":"unaffected","ecosystem":"otp","packageName":"hex","product":"hex","source":"CNA: EEF","vendor":"hexpm","versions":[{"lessThan":"2.5.2","status":"affected","version":"2.5.0","versionType":"semver"}]},{"defaultStatus":"unaffected","ecosystem":"github","packageName":"hexpm/hex","product":"hex","source":"CNA: EEF","vendor":"hexpm","versions":[{"changes":[{"at":"eed2bdf85320ae9e244629511c03f5f3f8c5d0b5","status":"unaffected"},{"at":"1b6fddfeadd98ed26a143f60356efade0494e2ae","status":"unaffected"}],"lessThan":"*","status":"affected","version":"b4e665d46be8a5f81e8cbbe4c3a67058a19cf133","versionType":"git"}]}],"cveId":"CVE-2026-105668","cwes":["CWE-693"],"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.\n\nThe 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.\n\nThis issue affects hex: from 2.5.0 before 2.5.2.","epss":{"date":"2026-11-10","percentile":0.30323,"score":0.00362},"exploits":[],"kev":null,"metrics":[{"score":7.1,"severity":"high","source":"CNA: EEF","vector":"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","version":"4.0"}],"modifiedAt":1794405737237,"publishedAt":1791819118926,"references":[{"source":"CNA: EEF","tags":["related","vendor-advisory"],"url":"https://github.com/hexpm/hex/security/advisories/GHSA-pqhp-5x9x-69h7"},{"source":"CNA: EEF","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-105668.html"},{"source":"CNA: EEF","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-105668"},{"source":"CNA: EEF","tags":["related"],"url":"https://github.com/hexpm/hex/commit/b4e665d46be8a5f81e8cbbe4c3a67058a19cf133"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/hexpm/hex/commit/eed2bdf85320ae9e244629511c03f5f3f8c5d0b5"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/hexpm/hex/commit/1b6fddfeadd98ed26a143f60356efade0494e2ae"}],"remediation":[{"kind":"fix","source":"CNA: EEF","text":"Upgrade Hex to 2.5.2 or later, for example with mix local.hex. A retired locked release then no longer lifts the release-age cooldown for its package. A locked release with a security advisory still lifts it for its package and the direct dependencies of the locked release, only in the repository the package is locked from."},{"kind":"workaround","source":"CNA: EEF","text":"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."},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/hexpm/hex/commit/eed2bdf85320ae9e244629511c03f5f3f8c5d0b5"},{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/hexpm/hex/commit/1b6fddfeadd98ed26a143f60356efade0494e2ae"}],"revision":"33320ff9c875f6a5b1ea178b9c1504091068fbc9bb1fb775b2e02c1065e1cad8","sources":[{"modifiedAt":1794405737237,"name":"CNA: EEF","retrievedAt":1794406108577,"url":"https://www.cve.org/CVERecord?id=CVE-2026-105668"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794406132202,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-105668"}],"ssvc":{"assessedAt":1792172276690,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Hex release-age cooldown is lifted package-wide when the locked release is retired","updatedAt":1794406132202}