{"schema":"threatline.record/2","record":{"id":"CVE-2026-94206","aliases":[],"summary":"Cloak PBKDF2 field ignores the configured iteration count and runs only :size rounds","details":"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_ecto: from 1.0.0-alpha.0 onward; cloak: from 0.7.0 before 1.0.0-alpha.0.","categories":["Unclassified"],"product":"cloak_ecto","vendor":"danielberkompas","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-94206","source_modified_at":"2026-10-06T11:36:25.466Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"cloak_ecto","vendor":"danielberkompas","versions":[{"lessThan":"*","status":"affected","version":"1.0.0-alpha.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-94206","source_modified_at":"2026-10-06T11:36:25.466Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"cloak_ecto","vendor":"danielberkompas","versions":[{"lessThan":"*","status":"affected","version":"a8fa1642b02f1c445a1ee8794c9095eb0921f8f3","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-94206","source_modified_at":"2026-10-06T11:36:25.466Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"cloak","vendor":"danielberkompas","versions":[{"lessThan":"1.0.0-alpha.0","status":"affected","version":"0.7.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-94206","source_modified_at":"2026-10-06T11:36:25.466Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"cloak","vendor":"danielberkompas","versions":[{"lessThan":"681c9702b7cd9afe0e5a840751ab009f550c69a9","status":"affected","version":"8699e6417a162c39d9f0ef63511bd23d3f38d1d2","versionType":"git"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-94206","source_modified_at":"2026-10-06T11:36:25.466Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"cloak","ecosystem":null},"version":"1.0.0-alpha.0","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-94206","source_modified_at":"2026-10-06T11:36:25.466Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"cloak","ecosystem":null},"version":"681c9702b7cd9afe0e5a840751ab009f550c69a9","basis":"first unaffected version stated in the CVE record"}],"cvss":6.3,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00256,"percentile":0.16281,"score_date":"2026-10-23"},"published_at":"2026-10-06T08:38:04.584Z","modified_at":"2026-10-06T11:36:25.466Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-94206","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-06T11:36:25.466Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-94206","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://cna.erlef.org/cves/CVE-2026-94206.html","tags":["related","third-party-advisory"]},{"source":"CVE List","url":"https://osv.dev/vulnerability/EEF-CVE-2026-94206","tags":["related"]},{"source":"CVE List","url":"https://github.com/danielberkompas/cloak_ecto/commit/a8fa1642b02f1c445a1ee8794c9095eb0921f8f3","tags":["related"]},{"source":"CVE List","url":"https://github.com/danielberkompas/cloak/commit/8699e6417a162c39d9f0ef63511bd23d3f38d1d2","tags":["related"]},{"source":"CVE List","url":"https://github.com/danielberkompas/cloak/commit/681c9702b7cd9afe0e5a840751ab009f550c69a9","tags":["patch"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-06T11:34:00.942993Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-06T11:36:25.466Z","content_hash":"3ef39e6b5cfd01a9a76728b6fa9f8fdcd0aa1b72be4b2f18ec3000371a42ae56"}}
