Skip to content

CVE-2026-81322 Cloaked plaintext leaks through a non-sensitive action argument in AshCloak

LowCVSS 2.1 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
ash-project ash cloak >= 0.1.0, < 0.4.0; >= f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc, < ef49cfc832329fc8bc70ec6542a4dfff5dafd076 0.4.0, ef49cfc832329fc8bc70ec6542a4dfff5dafd076 Fixed

Affected products

ProductAffected versionsFixed in
ash-project ash cloak >= 0.1.0, < 0.4.0 0.4.0
ash-project ash cloak >= f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc, < ef49cfc832329fc8bc70ec6542a4dfff5dafd076 ef49cfc832329fc8bc70ec6542a4dfff5dafd076

References