CVE-2026-82741: Ash.Type.Union with :map_with_tag does not force the tag on dump, enabling tag confusion

Published Sep 1, 2026
·
Updated

Improper Validation of Specified Type of Input vulnerability in ash-project ash lets an attacker confuse the stored type tag of an Ash.Type.Union value that uses storage: :mapwithtag, bypassing that member's validation and any tag-based authorization.

For a union with storage: :mapwithtag, each member is identified in storage by a configured tag and tagvalue. Ash.Type.Union.dumptonative/2 (lib/ash/type/union.ex) did not force the configured tag when writing the value, so a tag carried in the submitted value was persisted verbatim. An attacker can therefore store a value whose data belongs to one member but whose tag names a different member. On read the value is re-selected by its tag and treated as the incompatible member (a type confusion), bypassing the real member's constraints and any logic or policy that branches on the union tag. The fix drops any incoming tag and forces the configured tag value on dump.

This issue affects ash: from 2.14.18 before 3.32.2.

Affected Software

1 affected component
ash-project ash>2.14.18<=3.32.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ash-project/ash to a version that resolves this vulnerability.

    Fixed in 3.32.2
  2. Upgrade

    Upgrade ash-project/ash to a version that resolves this vulnerability.

    Fixed in 2.14.18

Event History

Sep 1, 2026
CVE Published
via MITRE·03:33 AM
Data Sourced
via MITRE·03:33 AM
DescriptionWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203