CVE-2026-94206Danielberkompas Cloak vulnerability
CVSS score
6.3
Medium
CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit probability (EPSS)
0.24%
0.24% chance of exploitation in the next 30 days, higher than 15.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
How to fix it, step by step
Check whether you're affected
Find every system running danielberkompas Cloak Ecto and compare its version with the affected versions.
Update to a fixed version
- Update Cloak to 1.0.0-alpha.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| danielberkompas Cloak | ≥ 0.7.0, < 1.0.0-alpha.0 · ≥ 8699e6417a162c39d9f0ef63511bd23d3f38d1d2, < 681c9702b7cd9afe0e5a840751ab009f550c69a9 |
| danielberkompas Cloak Ecto | 1.0.0-alpha.0 · a8fa1642b02f1c445a1ee8794c9095eb0921f8f3 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-94206 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-94206?
CVE-2026-94206 has a CVSS 4.0 base score of 6.3 (medium).
Which versions are affected?
Danielberkompas Cloak (≥ 0.7.0, < 1.0.0-alpha.0; ≥ 8699e6417a162c39d9f0ef63511bd23d3f38d1d2, < 681c9702b7cd9afe0e5a840751ab009f550c69a9), Danielberkompas Cloak Ecto (1.0.0-alpha.0; a8fa1642b02f1c445a1ee8794c9095eb0921f8f3)
Is there a patch for CVE-2026-94206?
The official record links to vendor advisories or patches; see “What to do” above.
References
- cna.erlef.org/cves/CVE-2026-94206.html
- github.com/danielberkompas/cloak/commit/681c9702b7cd9afe0e5a840751ab009f550c69a9
- github.com/danielberkompas/cloak/commit/8699e6417a162c39d9f0ef63511bd23d3f38d1d2
- github.com/danielberkompas/cloak_ecto/commit/a8fa1642b02f1c445a1ee8794c9095eb0921f8f3
- osv.dev/vulnerability/EEF-CVE-2026-94206
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.