Cloak AES-CTR cipher lets attackers forge stored encrypted values
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Cloak versions from 0.1.0-pre onward are affected. The AES-CTR cipher stores ciphertext without a MAC, so its integrity is never checked (CWE-649). An attacker with write access to the encrypted store who knows a stored plaintext can flip ciphertext bits to replace it with a chosen value of the same length, and the application accepts that value without an error.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| danielberkompas | cloak | 0.1.0-pre and later | — | No fix listed | CNA |
- cloak Vendordanielberkompas Affected 0.1.0-pre and later Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:danielberkompas:cloak:*:*:*:*:*:*:*:* | — | — | danielberkompas |
- cpe:2.3:a:danielberkompas:cloak:*:*:*:*:*:*:*:* Versions — — ·danielberkompas
Remediation
The sources list no fixed version for cloak.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Timeline
- 2026-10-06 Threatist record created from CVE-2026-95105
- 2026-10-06 Alias added: GHSA-hxq7-6hm2-6wvg
- 2026-10-06 CISA SSVC decision points changed
- 2026-10-06 Priority changed: MEDIUM → HIGH
References
More danielberkompas vulnerabilities
- TI-2026-68041 Cloak PBKDF2 field ignores configured iteration count CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-95105 · CVE Program
- CVE-2026-95105 · NVD
- FIRST EPSS
- GHSA-hxq7-6hm2-6wvg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences