Skip to main content

Aegra EUVDEUVD-2026-30322

| CVE-2026-44504 HIGH
Improper Authorization (CWE-285)
2026-05-07 https://github.com/aegra/aegra GHSA-m98r-6667-4wq7
8.6
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Aegra API
  2. Delivery
    Harvest victim thread UUID from logs/URLs
  3. Exploit
    POST to /threads/{victim_thread}/runs/stream
  4. Execution
    Receive SSE frame with full checkpoint state
  5. Persist
    Inject malicious messages via same endpoint
  6. Impact
    Persist access without audit trail

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authentication to Aegra API (CVSS PR:L - low-privileged authenticated user account). Attacker must obtain a valid thread_id UUID belonging to another user, which leaks through multiple passive channels: frontend URLs (threads visible in browser address bar when users share links or screenshots), server access logs (thread_id appears in POST path), observability/tracing systems (thread_id propagates through distributed traces), and application error messages. Vulnerable configuration: Aegra 0.9.0-0.9.6 running in multi-tenant mode (multiple user identities on shared instance) without custom @auth.on("threads", "create_run") authorization handlers registered. Default out-of-the-box Aegra deployments meet this condition. Limiting factors: single-tenant or single-user Aegra deployments have no cross-tenant attack surface; stateless run endpoints (POST /runs) are not exploitable as they ignore caller-supplied thread_id. Network accessibility (AV:N) and low attack complexity (AC:L) mean exploitation is fully remote and automatable once attacker credentials are obtained.

Impact

CVSS:4.0 base score 8.6 with vector AV:N/AC:L/PR:L/UI:N indicates network-accessible exploitation by low-privilege authenticated users with no user interaction - fully automatable once credentials are obtained. High confidentiality and integrity impact (VC:H/VI:H) reflects the dual data-exfiltration and data-injection capabilities. EPSS data not provided, but vendor advisory confirms technical feasibility with a precise reproducer in issue #336. Not listed in CISA KEV, suggesting no widespread exploitation at publication. Real-world risk is HIGH for multi-tenant Aegra deployments: authenticated attackers can pivot laterally across all tenant boundaries to read sensitive conversation checkpoints (potential PII, API keys, proprietary prompts) and poison other users' LLM interaction histories - both confidentiality and integrity compromise. Attack complexity is genuinely low (AC:L) because thread IDs leak passively through normal operations (URLs, logs). Single mitigating factor: requires authentication (PR:L), limiting exposure to insider threats, compromised accounts, or deployments with weak registration controls. Patch availability in 0.9.7 is confirmed by GitHub commit e1b2042 and release tag v0.9.7. Priority: immediate upgrade for shared instances; single-user deployments unaffected.

Exploit ScenarioDerived

Attacker authenticates to shared Aegra instance as low-privilege user, captures victim's thread UUID from a shared frontend link or server log excerpt, then issues POST /threads/{victim_thread_id}/runs/stream with arbitrary input payload. SSE connection immediately returns event: values frame containing victim's full conversation history including potentially sensitive prompts, API responses, and checkpoint state. Attacker injects malicious messages into victim's thread via the same endpoint, poisoning their LLM interaction context for future runs. Because run metadata carries attacker's user_id, victim's GET /threads/{thread_id}/runs query does not reveal the unauthorized activity, enabling persistent stealth access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – May 14, 2026

Cross-tenant Insecure Direct Object Reference (IDOR) in Aegra 0.9.0-0.9.6 allows any authenticated user to execute graph runs against other users' threads, exfiltrate full checkpoint state including conversation histories, and inject malicious messages into victims' threads by supplying known thread UUIDs to POST /threads/{thread_id}/runs endpoints. Thread IDs leak through frontend URLs, server logs, and observability traces, eliminating need for enumeration. Vendor-released patch (v0.9.7) confirmed by GitHub advisory GHSA-m98r-6667-4wq7. No active exploitation or POC identified at time of analysis, though detailed reproducer exists in issue #336.

Earlier versions of this analysis (1)
v1 May 07, 2026 - 02:16

Authenticated users in Aegra 0.9.0-0.9.6 can execute graph runs against other users' threads via Insecure Direct Object Reference (IDOR), leaking checkpoint state, injecting conversation history, and hiding audit trails. The vulnerability requires knowledge of a victim's thread_id (UUID) but does not require guessing-thread IDs leak through frontend URLs, logs, and observability traces. Vendor-released patch available (version 0.9.7). No public exploit code identified at time of analysis, and not listed in CISA KEV. Root cause: default-allow authorization model in run-creation endpoints (POST /threads/{thread_id}/runs, /runs/stream, /runs/wait) skipped SQL-level user_id filtering that protected read endpoints.

RemediationAI

Upgrade to Aegra 0.9.7 or later immediately for multi-tenant deployments (fixed package available at https://github.com/aegra/aegra/releases/tag/v0.9.7, fix commit: https://github.com/aegra/aegra/commit/e1b2042254fd49072ca281bc35b3f2a3bed74b31). Patch adds SQL-level user_id ownership verification to POST /threads/{thread_id}/runs, POST /threads/{thread_id}/runs/stream, and POST /threads/{thread_id}/runs/wait before run preparation, returning 404 for cross-user access attempts to prevent thread existence disclosure. If immediate upgrade is blocked, deploy compensating control by registering an @auth.on("threads", "create_run") handler that queries the thread table and raises HTTP 404 if thread.user_id != ctx.user.identity (example implementation in vendor advisory). Trade-off: custom handler adds latency to every run creation and requires maintaining auth logic in application code. Verify fix effectiveness by testing cross-user thread access returns 404 using test vectors from PR #337 (https://github.com/aegra/aegra/pull/337). No configuration changes or data migration required. Validate upgraded instances by confirming StreamingResponse returns 404 on event stream connection for foreign thread_id before emitting SSE frames.

Affected VersionsENISA

aegra < 0.9.7

Affected Packages

pypi aegra-api fix: 0.9.7
euvd aegra fix: 0.9.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Aegra is a Python-based graph execution framework built on LangGraph SDK (pkg:pip/aegra-api) using a pluggable authorization model via @auth.on handlers. CWE-285 (Improper Authorization) manifests as missing SQL-level user_id filters in api/runs.py endpoints that create graph runs from caller-supplied thread_id parameters. While read endpoints (api/threads.py) enforce defense-in-depth SQL ownership checks (WHERE user_id = authenticated_user.identity), the three write endpoints (create_run, create_and_stream_run, wait_for_run) relied solely on optional user-defined @auth.on handlers. Aegra's default-allow model (when no handler is registered, handle_event() returns None and permits the request) left out-of-the-box multi-tenant deployments unprotected. The streaming variant (POST /threads/{thread_id}/runs/stream) leaks data immediately upon SSE connection in the first event: values frame without requiring graph execution. Thread UUIDs are not secret - they appear in URLs, logs, tracing spans, and shared links, making horizontal privilege escalation trivial for any authenticated user.

Know when Checkpoint gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.6 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
May 14, 2026 - 16:28 vuln.today
v2 - CVSS changed
CVSS changed
May 14, 2026 - 16:22 NVD
8.6 (HIGH)
CVE Published
May 07, 2026 - 01:49 nvd
HIGH

DescriptionGitHub Advisory

Impact

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.

Patches

Fixed in 0.9.7. The three affected endpoints now perform an SQL-level user_id == authenticated_user.identity check before calling _prepare_run. When the thread exists but is owned by another user, the response is 404 Thread not found (matching the read-side pattern) to avoid leaking thread existence.

Workarounds

If upgrade is not immediately possible, register an @auth.on("threads", "create_run") handler that explicitly verifies thread ownership against the authenticated identity before allowing the operation. Without a handler, no built-in authorization runs on these write paths.

Example mitigation handler:

python
from langgraph_sdk import Auth

auth = Auth()

@auth.on("threads", "create_run")
async def enforce_thread_owner(ctx: Auth.types.AuthContext, value: dict):
# Look up the thread, raise 404 if not owned by ctx.user.identity.
# Implementation depends on your data layer.
    ...

Root cause

Aegra's authorization model delegates per-resource policy to user-defined @auth.on handlers. When no handler is registered, handle_event(...) returns None and the request proceeds (default-allow). Read endpoints in api/threads.py add a defense-in-depth user_id filter at the SQL layer, but the run-creation endpoints in api/runs.py skipped that filter. Result: out-of-the-box deployments without custom auth handlers were vulnerable.

Affected endpoints

  • POST /threads/{thread_id}/runs
  • POST /threads/{thread_id}/runs/stream
  • POST /threads/{thread_id}/runs/wait

Stateless variants (POST /runs, POST /runs/wait, POST /runs/stream) are NOT affected - they generate a fresh thread_id server-side and never accept a caller-supplied one.

Credits

  • @JoJoTheBizarre - discovered and reported the vulnerability with a precise reproducer (#336)
  • @victorjmarin and @jawhardjebbi - wrote the fix and added test coverage at unit, integration, and manual-auth e2e levels (#337)

Resources

  • Issue: https://github.com/aegra/aegra/issues/336
  • Fix PR: https://github.com/aegra/aegra/pull/337
  • Release: https://github.com/aegra/aegra/releases/tag/v0.9.7

Executive ViewAI

Why It Matters

Aegra versions 0.9.0 through 0.9.6 contain a cross-tenant access control vulnerability that allows authenticated users to read other users' conversation histories, manipulate their data, and inject malicious content by leveraging exposed thread identifiers. This directly compromises confidentiality and integrity of multi-tenant deployments, requiring immediate patching to prevent lateral data access within shared Aegra instances.

Business Impact: High
Compensating Controls

Apply vendor patch (Aegra v0.9.7). If immediate patching is not feasible: restrict Aegra instance access to single-tenant or trusted user groups only; disable or redact thread IDs from frontend URLs, server logs, and observability traces; implement network segmentation to limit authenticated user scope; monitor POST /threads/{thread_id}/runs endpoint logs for cross-user access patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2024-24919 HIGH POC
8.6 May 28

Potentially allowing an attacker to read certain information on Check Point Security Gateways once connected to the inte

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2017-1000083 HIGH POC
7.8 Sep 05

backend/comics/comics-document.c (aka the comic book backend) in GNOME Evince before 3.24.1 allows remote attackers to e

CVE-2026-85102 CRITICAL POC
9.8 Sep 09

Remote code execution in Check Point Quantum Security Gateway arises from improper certificate trust validation during V

CVE-2026-16232 CRITICAL POC
9.3 Jul 22

Authentication bypass in the Check Point SmartConsole login process lets an unauthenticated remote attacker mint a valid

CVE-2026-50751 CRITICAL POC
9.3 Jun 08

Authentication bypass in Check Point Quantum Security Gateway and Spark Firewalls allows unauthenticated remote attacker

CVE-2026-93616 CRITICAL POC
9.8 Sep 22

Unauthenticated attackers who can reach the file-upload interface of Check Point Management Server can combine directory

CVE-2026-123039 HIGH POC
7.8 Nov 12

Local privilege escalation in Check Point Gaia OS lets an authenticated local user execute commands as root by writing t

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2026-85103 CRITICAL POC
9.8 Sep 09

Remote code execution in Check Point Quantum Security Gateway and Quantum Security Management stems from a heap-based bu

CVE-2026-91843 CRITICAL POC
9.8 Sep 16

Unauthenticated remote code execution affects Check Point Quantum Security Management, where a stack-based buffer overfl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy