Skip to main content

Agno CVE-2025-64168

HIGH
Race Condition (CWE-362)
2025-10-31 security-advisories@github.com
7.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as legitimate Agent/Team user
  2. Delivery
    Drive high concurrent run/arun load
  3. Exploit
    Trigger session_state assignment race
  4. Execution
    session_state persisted to wrong session
  5. Impact
    Cross-user data exposure

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

Exploitation requires the application to pass session_state into an Agent or Team during run or arun calls AND to be operating under high concurrency (many simultaneous sessions/requests) - a multi-user or multi-tenant deployment is effectively a prerequisite. The attacker must be an authenticated user of the runtime (PR:L). Limiting factors: the bug is a timing-dependent race (AC:H) that cannot be forced deterministically, single-user or low-concurrency deployments are not realistically affected, and only versions 2.0.0 through before 2.2.2 are vulnerable (fixed in 2.2.2). No user interaction by the victim is required (UI:N).

Impact

This is a genuine but conditional risk rather than a drop-everything emergency. The CVSS 7.1 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N) is driven primarily by the scope change (S:C) and high confidentiality impact (C:H) from one user's session data leaking to another - a real multi-tenant data-isolation failure. However, two signals temper the urgency: AC:H reflects that exploitation depends on a non-deterministic race window only reachable under high concurrency, and PR:L means the attacker must already be an authenticated/legitimate user of the agent runtime. No EPSS score, no CISA KEV listing, and no POC were provided in the input, and there is no public exploit identified at time of analysis - the only authoritative source is the vendor's own GHSA advisory. No SSVC decision data was supplied. The realistic failure mode is accidental/opportunistic cross-session data exposure under load rather than reliably weaponized targeted attack, because the race is timing-dependent and cannot be forced deterministically from the input evidence. Net: patch-worthy for anyone running Agno in a multi-user/multi-tenant configuration, but not an actively-exploited widespread threat based on available signals.

Exploit ScenarioDerived

A multi-tenant application built on Agno serves many users concurrently, passing per-user session_state into Agent/Team run or arun calls. Under heavy simultaneous load, the race condition causes one user's session_state to be assigned and persisted to a different user's session, so user B receives or stores user A's private conversation data. No public proof-of-concept exists; triggering is probabilistic and depends on concurrency, consistent with the CVSS AC:H rating.

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

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Cross-session data exposure in the Agno multi-agent framework (2.0.0 through 2.2.1) lets an authenticated user end up with session_state that belongs to a different user, because a race condition under high concurrency causes state to be assigned and persisted to the wrong session. The bug only manifests when the application explicitly passes session_state into Agent or Team run/arun calls and is simultaneously serving many sessions - effectively a multi-user or multi-tenant deployment - and it is timing-dependent rather than deterministically triggerable (CVSS 7.1, AV:N/AC:H/PR:L/UI:N/S:C). There is no public exploit identified at time of analysis and no CISA KEV listing; the vendor shipped a fix in Agno 2.2.2, so exposure is limited to unpatched 2.x deployments with high concurrency.

RemediationAI

Upgrade to Agno 2.2.2 or later, which is the vendor-released patch for this issue (pip install -U agno); confirm the installed version with pip show agno and redeploy all runtime instances, since mixed-version fleets leave older workers exploitable. If an immediate upgrade is not possible, stop passing caller-supplied session_state into Agent/Team run and arun calls and instead let Agno own session persistence, or keep per-session state in your own store keyed by an authenticated session ID - this removes the race but requires application changes and may alter conversation-resume behavior. As a secondary control, serialize or lock execution per session (or per tenant) so that concurrent runs cannot interleave on the same state object; the trade-off is reduced throughput in exactly the high-concurrency deployments where the bug is reachable. Running single-tenant or low-concurrency instances also avoids the vulnerable window, but is not a substitute for patching. Full details are in the vendor advisory at https://github.com/agno-agi/agno/security/advisories/GHSA-vw84-hprm-cxmm.

Affected Packages

pypi agno fix: 2.2.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

Agno is a Python multi-agent framework (distributed via the pip package 'agno') in which an Agent or Team run can be handed an explicit session_state dictionary that the runtime mutates and persists as the backing store for that conversation. The underlying weakness is CWE-362 (concurrent execution using a shared resource with improper synchronization): when many run/arun calls are in flight, the state object and its persistence path are not isolated per session, creating a time-of-check/time-of-use window in which one request's state reference can be committed under another request's session identifier. The assessed vector (PR:L, AC:H, S:C, C:H, I:L) reflects that an attacker must be a legitimate authenticated user of the runtime, that success depends on winning a timing race that cannot be forced deterministically, and that a successful crossover crosses a security boundary - leaking one tenant's data to another - while only partially compromising integrity. Environments that let Agno manage session storage itself, or that run single-user/low-concurrency workloads, do not exercise the vulnerable code path.

Know when the next one hits your stack

  • 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

Vendor (github) PRIMARY 7.1 HIGH
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
vuln.today AI 7.1 HIGH

Network-reachable runtime with authenticated low-priv user (PR:L); race condition needs high concurrency (AC:H); cross-user data leak changes scope (S:C) and exposes confidential data (C:H), with minor integrity impact from wrong-session persistence (I:L).

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Agno is a multi-agent framework, runtime and control plane. From 2.0.0 to before 2.2.2, under high concurrency, when session_state is passed to Agent or Team during run or arun calls, a race condition can occur, causing a session_state to be assigned and persisted to the incorrect session. This may result in user data from one session being exposed to another user. This has been patched in version 2.2.2.

Executive ViewAI

Why It Matters

Agno multi-agent framework versions 2.0.0 through 2.2.1 can expose one authenticated user's session state to another under high concurrency in multi-tenant deployments, creating confidentiality and trust risk for shared agent environments. Leadership should care because affected services may leak sensitive cross-session data across customers or internal teams, and no public exploit identified at time of analysis reduces immediate likelihood but does not eliminate the need to remediate.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
emerging Python AI-agent framework, limited production multi-tenant footprint
Data Quality
3 sources
Confidence: Low

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.2%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

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