CVE-2026-94206
published medium CVSS 4.0 · 6.3Cloak PBKDF2 field ignores the configured iteration count and runs only :size rounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| danielberkompas | — | cloak0.7.0 to < 1.0.0-alpha.0 · Other versions: unaffected | Affected | Not stated | EEF |
| danielberkompas | — | danielberkompas/cloakcloak · 8699e6417a162c39d9f0ef63511bd23d3f38d1d2 to < 681c9702b7cd9afe0e5a840751ab009f550c69a9 · Other versions: unaffected | Affected | Not stated | EEF |
| danielberkompas | — | cloak_ecto1.0.0-alpha.0 and later · Other versions: unaffected | Affected | Not stated | EEF |
| danielberkompas | — | danielberkompas/cloak_ectocloak_ecto · a8fa1642b02f1c445a1ee8794c9095eb0921f8f3 and later · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| danielberkompas | cloak | 0.7.0 to < 1.0.0-alpha.0 (affected · semver)Default: unaffected | EEF · cna |
| danielberkompas | cloak | 8699e6417a162c39d9f0ef63511bd23d3f38d1d2 to < 681c9702b7cd9afe0e5a840751ab009f550c69a9 (affected · git)Default: unaffected | EEF · cna |
| danielberkompas | cloak_ecto | 1.0.0-alpha.0 and later (affected · semver)Default: unaffected | EEF · cna |
| danielberkompas | cloak_ecto | a8fa1642b02f1c445a1ee8794c9095eb0921f8f3 and later (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-916 CWE-916 Use of Password Hash With Insufficient Computational Effort
References
5- EEF CNA record for CVE-2026-94206 https://cna.erlef.org/cves/CVE-2026-94206.html
- Fix commit 681c970 in danielberkompas/cloak https://github.com/danielberkompas/cloak/commit/681c9702b7cd9afe0e5a840751ab009f550c69a9
- Introducing commit 8699e64 in danielberkompas/cloak https://github.com/danielberkompas/cloak/commit/8699e6417a162c39d9f0ef63511bd23d3f38d1d2
- Introducing commit a8fa164 in danielberkompas/cloak_ecto https://github.com/danielberkompas/cloak_ecto/commit/a8fa1642b02f1c445a1ee8794c9095eb0921f8f3
- OSV record EEF-CVE-2026-94206 https://osv.dev/vulnerability/EEF-CVE-2026-94206
Provider assertions
2EEF · cna
Cloak PBKDF2 field ignores the configured iteration count and runs only :size rounds
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7958023e8ca3778b26bde32af99bc1b2252b77c788093ece6aee7081dc83ca64
- Ingested
- 20 Nov 2026, 06:18:48 UTC
- Source record
- Official CVE record