Skip to content

CVE-2026-77831 Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking

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

Description

Inefficient Algorithmic Complexity vulnerability in ash-project ash_paper_trail allows a user who can submit a large array attribute to a paper-trailed create or update action to cause a denial of service through excessive CPU and memory use.

With full-diff change tracking, AshPaperTrail.ChangeBuilders.FullDiff.ListChange pairs each prior array element against the new list by rebuilding the remaining-elements accumulator with acc ++ [tuple] on every step, copying the growing list each time, so the pairing scales cubically in the array length. Nothing bounds the length and the value comes straight from action input, so one request carrying a large accepted {:array, _} attribute forces tens of seconds of CPU and multi-gigabyte allocations.

This issue affects ash_paper_trail: from 0.1.1 before 0.7.0.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
ash-project ash paper trail >= 0.1.1, < 0.7.0; >= 449cd2a93416853066378fa61c715e89f80dc854, < e781f5d8840b07d57db99f9a4728298837d7b3a8 0.7.0, e781f5d8840b07d57db99f9a4728298837d7b3a8 Fixed

Affected products

ProductAffected versionsFixed in
ash-project ash paper trail >= 0.1.1, < 0.7.0 0.7.0
ash-project ash paper trail >= 449cd2a93416853066378fa61c715e89f80dc854, < e781f5d8840b07d57db99f9a4728298837d7b3a8 e781f5d8840b07d57db99f9a4728298837d7b3a8

References