Race Condition Affecting agno package, versions [2.0.0,2.2.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AGNO-13792911
  • published31 Oct 2025
  • disclosed31 Oct 2025
  • creditUnknown

Introduced: 31 Oct 2025

NewCVE-2025-64168  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade agno to version 2.2.2 or higher.

Overview

agno is an Agno: a lightweight library for building Multi-Agent Systems

Affected versions of this package are vulnerable to Race Condition in the async method _acleanup_and_store() while passing session_state to Agent or Team during run or arun calls. The condition occures when a Team is used with add_history_to_context=True and Redis database. An attacker can access data belonging to other users by triggering concurrent operations that cause session information to be overwritten.

References

CVSS Base Scores

version 4.0
version 3.1