Skip to main content
EPSS 0.2%top 92%

CVE-2026-81638: CWE-173 Improper Handling of Alternate Encoding in ash-project ash_double_entry

0
Low
VulnerabilityCVE-2026-81638cvecve-2026-81638cwe-173
Published: 09/07/2026 (09/07/2026, 22:33:29 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: ash_double_entry

Description

CVE-2026-81638 is a low-severity vulnerability in ash-project's ash_double_entry component. It involves improper handling of alternate encoding for ULID identifiers, allowing multiple distinct string representations to decode to the same underlying value. This can cause desynchronization or bypass of string-level checks such as idempotency, deduplication, deny-lists, audit correlation, or signature verification when IDs are exposed over HTTP or API boundaries. The issue affects versions from 0.1.0 up to but not including 1.0.19.

CVSS v4.0

Score 2.1low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Affected software

ash-project

ash_double_entry

Affected versions
>=0.1.0 <1.0.19

ash-project

ash_double_entry

ash_double_entry
pkg:hex/ash_double_entry
Affected versions
>=0.1.0 <1.0.19
GitHub Actionsmore threats →cve
ash-project/ash_double_entry
pkg:github/ash-project/ash_double_entry
CPE configurations
cpe:2.3:a:ash-project:ash_double_entry:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 01:04:25 UTC

Technical Analysis

The vulnerability arises because ash_double_entry's ULID rendering encodes a 128-bit ULID as 26 Crockford base-32 characters, but the first character encodes only 3 bits, limiting canonical values to 0-7. The decode function masks the first character to its low 3 bits, while the validation function accepts all 32 characters in that position. Consequently, different strings such as those starting with '0', '8', 'G', or 'R' decode to the same 16-byte ULID value, resolving to the same database row. This allows an attacker to submit differently spelled IDs that map to the same record, potentially bypassing string-level security checks when these IDs are used as public identifiers in HTTP or API contexts.

Potential Impact

An attacker can exploit this encoding ambiguity to bypass controls relying on exact string matching of ULID identifiers. This includes evading idempotency and deduplication mechanisms, deny-lists, audit correlation, and signature verification tied to the submitted ID string. However, the underlying data record is not duplicated or corrupted; the issue is with inconsistent string representations leading to logic bypasses. The CVSS 4.0 score is 2.1, indicating low severity with limited impact and requiring local attack vector with partial impact on integrity.

Mitigation Recommendations

No official patch or fix information is provided in the vendor advisory or source data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider implementing additional validation to enforce canonical ULID string formats and avoid accepting alternate encodings that decode to the same value. Monitoring for anomalous ID usage patterns may help detect exploitation attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-09-07T19:30:01.624Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9f4039acd9273b4972ed97

Added to database: 09/07/2026, 22:52:41 UTC

Last enriched: 09/15/2026, 01:04:25 UTC

Last updated: 10/23/2026, 01:15:27 UTC

Views: 98

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses