PyPA Advisory Database
PYSEC-2026-1077
Agno session state overwrites between different sessions/users
Details
Impact
Under certain conditions (under high concurrency), when session_state is passed to an 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.
Patches
This has been patched in version 2.2.2. Upgrade with pip install -U agno.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | agno | From 2.0.0 before 2.2.2 (fixed in 2.2.2) |