CVE-2026-95105: danielberkompas cloak - Reliance on Obfuscation or Encryption without Integrity Checking
- Cve: CVE-2026-95105
- Name: danielberkompas cloak - Reliance on Obfuscation or Encryption without Integrity Checking
- 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. Cloak.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. This issue affects cloak: from 0.1.0-pre onward.
- Impact: Attackers with write access to ciphertext can modify decrypted plaintext undetected, potentially leading to data tampering or bypassing security controls.
- Remediation: Update to a version that implements encryption with integrity checking or apply a MAC to ciphertext.
- Vulnerability type: misconfiguration
- Vulnerability impact: data_tampering
- Requirements: Attacker needs write access to encrypted ciphertext store
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.2
- Cvss 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
- Epss score: 0.00132
- Epss percentile: 0.02769
- Assignee: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- Published at: 2026-10-06T09:17:57Z
- Age in days: 49
- Modified at: 2026-10-06T15:03:59Z
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-95105
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-649 | Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://cna.erlef.org/cves/CVE-2026-95105.html |
| https://github.com/danielberkompas/cloak/commit/2bd17019e285b55c5c218cc842537bf9280f24c3 |
| https://osv.dev/vulnerability/EEF-CVE-2026-95105 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| danielberkompas:cloak | >= 0.1.0-pre | no | cna | /v1/products/danielberkompas/cloak |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| danielberkompas/cloak | commit | yes | /v1/repositories/danielberkompas/cloak |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts