CVE-2025-64168: CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in agno-agi agno
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Belgium, Denmark
CVE-2025-64168: CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in agno-agi 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
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-12464: Stack-based Buffer Overflow in Red Hat Red Hat Enterprise Linux 10
MediumCVE-2025-63563: n/a
UnknownCVE-2025-63561: n/a
HighCVE-2025-63562: n/a
MediumCVE-2025-10693: CWE-757 Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade') in silabs.com Silicon Labs Z-Wave SDK
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.