Intel

AIKIDO-2026-334412

ash_paper_trail is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-77831 Published Yesterday

21

Low Risk

This Affects:

ELIXIRash_paper_trail
0.1.1 - 0.6.0
Fixed in 0.7.0
Are you affected? Scan for Free

TL;DR

AshPaperTrail builds a full diff of tracked changes when versioning a resource. The zip_up_tuples and extract_matching_value_tuple helpers in the full-diff list builder pair prior array elements against the new list by rebuilding an accumulator with repeated acc ++ [tuple] concatenation, which scales cubically in array length. A user who submits a large array attribute to a paper-trailed create or update action can force tens of seconds of CPU time and multiple gigabytes of allocation per request, exhausting server resources. The fix replaces the quadratic accumulator copying with efficient list construction.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose a paper-trailed create or update action that accepts a large user-controlled array attribute with full-diff change tracking.

Background info

ash_paper_trail is vulnerable to Denial of Service (DoS) in versions 0.1.1 - 0.6.0.

How to fix this

Upgrade the ash_paper_trail 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