CVE-2026-81322 Cloaked plaintext leaks through a non-sensitive action argument in AshCloak
Attackers with log or error access can recover plaintext from encrypted fields due to missing sensitive flags in AshCloak action arguments.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-81322?
CVE-2026-81322 is a low-severity vulnerability in ash-project ash_cloak, published on 30 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in ash-project ash_cloak allows anyone with access to logs, error trackers, or crash reports, or anyone who can trigger a validation error, to recover the plaintext of a field the library encrypts.
AshCloak.Transformers.SetUpEncryption removes each cloaked attribute from the action's accept list and adds an action argument that carries the plaintext into the encryption change. That argument is built with sensitive?: attr.sensitive?, inheriting the flag from the source attribute, so a cloaked attribute declared without sensitive? true produces a non-sensitive argument. It is the only place the cleartext value lives, and the one place Ash will not redact: it appears verbatim in inspect(changeset), Ash.Error.Invalid and validation error messages, telemetry, :sys dumps, and error-tracker payloads. The generated encrypted attribute and decrypt calculation are already hardcoded sensitive.
This issue affects ash_cloak: from 0.1.0 before 0.4.0.
Weakness: CWE-200
Which versions are affected by CVE-2026-81322?
1 open source package ship an affected version, including ash_cloak.
| Package | Affected | Fixed in |
|---|---|---|
ash_cloak Hex | From 0.1.0 | 0.4.0 |
How do I fix CVE-2026-81322?
Upgrade ash_cloak to 0.4.0 or later.
Is CVE-2026-81322 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-81322 exists.
Sources
Also known as EEF-CVE-2026-81322, GHSA-qp4v-vvrg-8ggx.