{"id":"CVE-2026-94206","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-10-06T09:17:56.813","lastModified":"2026-11-20T06:17:45.210","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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.\n\nThe 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.\n\nThis issue affects cloak: from 0.7.0 before 1.0.0-alpha.0; cloak_ecto: from 1.0.0-alpha.0 onward."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"danielberkompas","product":"cloak","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"cloak","cpes":["cpe:2.3:a:danielberkompas:cloak:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Cloak.Fields.PBKDF2'"],"programFiles":["lib/cloak/fields/pbkdf2.ex"],"repo":"https://github.com/danielberkompas/cloak","packageURL":"pkg:hex/cloak","versions":[{"version":"0.7.0","lessThan":"1.0.0-alpha.0","versionType":"semver","status":"affected"}]},{"vendor":"danielberkompas","product":"cloak","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"danielberkompas/cloak","cpes":["cpe:2.3:a:danielberkompas:cloak:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Cloak.Fields.PBKDF2'"],"programFiles":["lib/cloak/fields/pbkdf2.ex"],"repo":"https://github.com/danielberkompas/cloak","packageURL":"pkg:github/danielberkompas/cloak","versions":[{"version":"8699e6417a162c39d9f0ef63511bd23d3f38d1d2","lessThan":"681c9702b7cd9afe0e5a840751ab009f550c69a9","versionType":"git","status":"affected"}]},{"vendor":"danielberkompas","product":"cloak_ecto","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"cloak_ecto","cpes":["cpe:2.3:a:danielberkompas:cloak_ecto:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Cloak.Ecto.PBKDF2'"],"programFiles":["lib/cloak_ecto/types/pbkdf2.ex"],"repo":"https://github.com/danielberkompas/cloak_ecto","packageURL":"pkg:hex/cloak_ecto","versions":[{"version":"1.0.0-alpha.0","lessThan":"*","versionType":"semver","status":"affected"}]},{"vendor":"danielberkompas","product":"cloak_ecto","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"danielberkompas/cloak_ecto","cpes":["cpe:2.3:a:danielberkompas:cloak_ecto:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Cloak.Ecto.PBKDF2'"],"programFiles":["lib/cloak_ecto/types/pbkdf2.ex"],"repo":"https://github.com/danielberkompas/cloak_ecto","packageURL":"pkg:github/danielberkompas/cloak_ecto","versions":[{"version":"a8fa1642b02f1c445a1ee8794c9095eb0921f8f3","lessThan":"*","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-06T11:34:00.942993Z","id":"CVE-2026-94206","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-916"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-94206.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/danielberkompas/cloak/commit/681c9702b7cd9afe0e5a840751ab009f550c69a9","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/danielberkompas/cloak/commit/8699e6417a162c39d9f0ef63511bd23d3f38d1d2","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/danielberkompas/cloak_ecto/commit/a8fa1642b02f1c445a1ee8794c9095eb0921f8f3","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-94206","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"}]}