CVE-2026-94206
Cloak PBKDF2 field ignores the configured iteration count and runs only :size rounds
Check your servers for CVE-2026-94206
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-94206 affects cloak, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Use of Password Hash With Insufficient Computational Effort vulnerability in danielberkompas cloak_ecto and danielberkompas cloak allows an attacker who holds the hashed values and the configured secret to brute-force low-entropy plaintexts much faster than configured.
The dump/1 callback that Cloak.Ecto.PBKDF2 (Cloak.Fields.PBKDF2 in cloak before the Ecto code moved to cloak_ecto) injects into a field module calls :pbkdf2.pbkdf2/4 with config[:size] in the iteration-count position. The :iterations setting is validated but never used. With the cloak_ecto defaults (iterations: 600_000, size: 32) each hash runs 32 PBKDF2 rounds instead of 600,000, so offline guessing of values such as email addresses costs about 18,750 times less than configured.
This issue affects cloak: from 0.7.0 before 1.0.0-alpha.0; cloak_ecto: from 1.0.0-alpha.0 onward.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality low, integrity none, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Oct 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-916 Use of Password Hash With Insufficient Computational Effort
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
cloak
package
cloak |
affected from 0.7.0, before 1.0.0-alpha.0
Other versions: unaffected
|
|
cloak
package
danielberkompas/cloak |
affected from 8699e6417a162c39d9f0ef63511bd23d3f38d1d2, before 681c9702b7cd9afe0e5a840751ab009f550c69a9
Other versions: unaffected
|
|
cloak_ecto
package
cloak_ecto |
affected 1.0.0-alpha.0 and later
Other versions: unaffected
|
|
cloak_ecto
package
danielberkompas/cloak_ecto |
affected a8fa1642b02f1c445a1ee8794c9095eb0921f8f3 and later
Other versions: unaffected
|
Is my server affected?
Find the installed version of cloak and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i cloak
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-94206 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-94206RHEL, Rocky, Alma, Fedora
rpm -q cloak
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-94206Alpine
apk list --installed | grep -i cloakWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-94206
trivy image --scanners vuln IMAGE | grep CVE-2026-94206
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- EEF CNA record for CVE-2026-94206 cna.erlef.org · related, third party advisory
Patches and release notes
- Fix commit 681c970 in danielberkompas/cloak github.com · patch
Other references
- OSV record EEF-CVE-2026-94206 osv.dev · related
- Introducing commit 8699e64 in danielberkompas/cloak github.com · related
- Introducing commit a8fa164 in danielberkompas/cloak_ecto github.com · related
Source: the record CVE-2026-94206 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse