{"schema":"threatline.record/2","record":{"id":"CVE-2026-95105","aliases":[],"summary":"Cloak AES-CTR cipher lacks ciphertext authentication, allowing chosen-plaintext forgery by bit flipping","details":"Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking vulnerability in danielberkompas cloak allows an attacker with write access to stored ciphertext to make it decrypt to a chosen value via bit flipping.\n\nCloak.Ciphers.AES.CTR encrypts with AES-256 in CTR mode and stores the key tag, the IV and the ciphertext with no MAC. decrypt/2 checks only the key tag and the minimum length before it returns the plaintext, and Cloak.Ciphers.Deprecated.AES.CTR decrypts the legacy format the same way. CTR is a stream cipher, so a value XORed into the stored ciphertext is XORed into the plaintext at the same offset. An attacker who can write to the encrypted store (for example through SQL injection or a compromised replica) and who knows or can guess a stored plaintext can replace it with any value of the same length. The application receives that value with no error.\n\nThis issue affects cloak: from 0.1.0-pre onward.","categories":["Unclassified"],"product":"cloak","vendor":"danielberkompas","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-95105","source_modified_at":"2026-10-06T11:40:42.775Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"cloak","vendor":"danielberkompas","versions":[{"lessThan":"*","status":"affected","version":"0.1.0-pre","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-95105","source_modified_at":"2026-10-06T11:40:42.775Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"cloak","vendor":"danielberkompas","versions":[{"lessThan":"*","status":"affected","version":"2bd17019e285b55c5c218cc842537bf9280f24c3","versionType":"git"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":8.2,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00115,"percentile":0.01467,"score_date":"2026-10-23"},"published_at":"2026-10-06T08:37:56.987Z","modified_at":"2026-10-06T11:40:42.775Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-95105","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-06T11:40:42.775Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-95105","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-95105.html","tags":["exploit"]},{"source":"CVE List","url":"https://osv.dev/vulnerability/EEF-CVE-2026-95105","tags":["related"]},{"source":"CVE List","url":"https://github.com/danielberkompas/cloak/commit/2bd17019e285b55c5c218cc842537bf9280f24c3","tags":["related"]}],"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:37:58.212117Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-06T11:40:42.775Z","content_hash":"a09001d5b129f5667345d4c433b655f9960b741fb35df02f39294d7bc1e718b0"}}
