{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-95105","id":"CVE-2026-95105","title":"Cloak AES-CTR cipher lacks ciphertext authentication, allowing chosen-plaintext forgery by bit flipping","description":"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 a","descriptionLong":"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.","published":"2026-10-06T08:37:56.987Z","updated":"2026-11-19T09:45:39.347721156Z","reserved":"2026-09-25T07:00:01.880Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"EEF"},"metrics":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"EEF"},{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/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","rating":"high","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"high","products":["danielberkompas cloak"],"affectedProducts":[{"vendor":"danielberkompas","product":"cloak","defaultStatus":"unaffected","versions":[{"lessThan":"*","status":"affected","version":"0.1.0-pre","versionType":"semver"}],"platforms":[]},{"vendor":"danielberkompas","product":"cloak","defaultStatus":"unaffected","versions":[{"lessThan":"*","status":"affected","version":"2bd17019e285b55c5c218cc842537bf9280f24c3","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-649"],"aliases":["EEF-CVE-2026-95105"],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-95105.html","tags":["related","third-party-advisory","exploit","advisory"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-95105","tags":["related","web"]},{"url":"https://github.com/danielberkompas/cloak/commit/2bd17019e285b55c5c218cc842537bf9280f24c3","tags":["related","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95105.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-95105","tags":["advisory"]},{"url":"https://github.com/danielberkompas/cloak","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00132,"epssPercentile":0.02887,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-95105","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-95105","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-95105","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-95105","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}