Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. aegra-api
  4. ›
  5. CVE-2026-44504

CVE-2026-44504: Aegra has cross-user run injection in /threads/{thread_id}/runs (IDOR)

May 7, 2026

Aegra deployments running 0.9.0 through 0.9.6 with multiple authenticated users on a shared instance are vulnerable to a cross-tenant IDOR. Any authenticated user (User A), given another user’s thread_id (User B), can:

  • Execute graph runs against User B’s thread via POST /threads/{thread_id}/runs, POST /threads/{thread_id}/runs/stream, or POST /threads/{thread_id}/runs/wait
  • Read User B’s full checkpoint state via the resulting run’s output field
  • Inject arbitrary messages into User B’s conversation history (persisted in B’s checkpoint)
  • Hide their activity from User B’s GET /threads/{thread_id}/runs listing because the run carries A’s user_id

The streaming variant is worse — the first SSE event: values frame returns the entire prior messages array immediately on connection, no graph execution needed.

Thread IDs are UUIDs but leak through frontend URLs, server logs, observability traces, and shared links. Guessing is not required.

References

  • github.com/advisories/GHSA-m98r-6667-4wq7
  • github.com/aegra/aegra
  • github.com/aegra/aegra/commit/e1b2042254fd49072ca281bc35b3f2a3bed74b31
  • github.com/aegra/aegra/issues/336
  • github.com/aegra/aegra/pull/337
  • github.com/aegra/aegra/releases/tag/v0.9.7
  • github.com/aegra/aegra/security/advisories/GHSA-m98r-6667-4wq7
  • nvd.nist.gov/vuln/detail/CVE-2026-44504

Code Behaviors & Features

Detect and mitigate CVE-2026-44504 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.9.0 before 0.9.7

Fixed versions

  • 0.9.7

Solution

Upgrade to version 0.9.7 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

pypi/aegra-api/CVE-2026-44504.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:19:10 +0000.