Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-64168: CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in agno-agi agno

0
High
VulnerabilityCVE-2025-64168cvecve-2025-64168cwe-362cwe-668
Published: Fri Oct 31 2025 (10/31/2025, 14:58:54 UTC)
Source: CVE Database V5
Vendor/Project: agno-agi
Product: agno

Description

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.

AI-Powered Analysis

AILast updated: 10/31/2025, 15:07:57 UTC

Technical Analysis

CVE-2025-64168 is a concurrency-related vulnerability classified under CWE-362 (Race Condition) and CWE-668 (Exposure of Resource to Wrong Sphere). It affects the agno-agi agno multi-agent framework, versions 2.0.0 up to but not including 2.2.2. The vulnerability arises when the session_state object is passed to Agent or Team components during synchronous (run) or asynchronous (arun) calls under conditions of high concurrency. Due to improper synchronization mechanisms, a race condition occurs that causes session_state data to be assigned and persisted to an incorrect session. This results in cross-session data leakage, where one user's session data may be exposed to another user, violating confidentiality. The flaw does not directly affect availability and only minimally impacts integrity since the data is not corrupted but misassigned. Exploitation requires network access with low privileges and no user interaction, but the attack complexity is high because the race condition must be triggered under specific concurrent loads. The vulnerability has been publicly disclosed and assigned a CVSS v3.1 score of 7.1, indicating high severity. The issue has been addressed and patched in agno version 2.2.2. No known exploits are currently reported in the wild, but the potential for sensitive data exposure makes this a critical concern for organizations using affected versions of agno in production environments.

Potential Impact

For European organizations, the primary impact is the potential exposure of sensitive user data across sessions, which can lead to breaches of data protection regulations such as GDPR. Confidentiality is severely compromised, risking unauthorized disclosure of personal or business-critical information. This can damage organizational reputation, lead to regulatory fines, and erode customer trust. The integrity of session data is slightly affected, but availability remains intact. Organizations relying on agno for multi-agent frameworks in AI, automation, or control plane operations may face operational risks if sensitive session data is leaked. The high concurrency requirement means that only systems with significant parallel processing loads are at risk, but these are common in modern cloud and AI deployments. The lack of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits targeting this race condition. European entities with stringent data privacy requirements and high concurrency workloads are particularly vulnerable.

Mitigation Recommendations

1. Upgrade all affected agno-agi agno installations to version 2.2.2 or later immediately to apply the official patch addressing the race condition. 2. Conduct thorough concurrency and load testing in development and staging environments to detect any residual synchronization issues. 3. Implement strict session isolation and validation mechanisms to ensure session_state objects cannot be cross-assigned even under concurrency stress. 4. Monitor application logs and session data access patterns for anomalies that may indicate data leakage or race condition exploitation attempts. 5. Restrict network access to agno management interfaces to trusted internal networks and enforce strong authentication and authorization controls. 6. Review and enhance code synchronization primitives if custom modifications to agno exist, ensuring thread-safe handling of session_state. 7. Educate development and operations teams about concurrency risks and secure coding practices related to shared resource management. 8. Maintain an incident response plan that includes procedures for data breach notification in compliance with GDPR and other relevant regulations.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2025-10-28T21:07:16.438Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6904d0bddadb00d130f3212f

Added to database: 10/31/2025, 3:07:41 PM

Last enriched: 10/31/2025, 3:07:57 PM

Last updated: 10/31/2025, 10:12:57 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats