Intel

AIKIDO-2026-931185

ash_double_entry is vulnerable to Improper Handling of Alternate Encoding

Improper Handling of Alternate EncodingCVE-2026-81638 Published Today

63

Medium Risk

This Affects:

ELIXIRash_double_entry
0.1.0 - 1.0.18
Fixed in 1.0.19
Are you affected? Scan for Free

TL;DR

AshDoubleEntry.ULID decode/1 masks the first Crockford base32 character of a 26-character ULID to its low 3 bits, and valid?/1 accepts all 32 characters in that position, so distinct spellings beginning with 0, 8, G, or R decode to the same 128-bit value and look up the same record. User supplied identifiers can alias one record under multiple textual forms, bypassing string level checks such as idempotency keys and signatures over the submitted ID. The fix rejects any ULID whose first character decodes above 7, so each identifier has one accepted encoding.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you accept these ULIDs from untrusted input.

Background info

ash_double_entry is vulnerable to Improper Handling of Alternate Encoding in versions 0.1.0 - 1.0.18.

How to fix this

Upgrade the ash_double_entry library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform