CVE-2025-64168: Agno Agno Session State Overwrites Between Vulnerability
HIGHCVE-2025-64168 is a HIGH (CVSS 7.1) agno session state overwrites between vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Agno libraries in the PyPI ecosystem. The issue involves agno session state overwrites between different sessions/users. Remediation is available by upgrading affected packages to version 2.2.2.
CVE-2025-64168 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N).
How to Fix CVE-2025-64168
To remediate this vulnerability, upgrade all affected Agno dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install agno>=2.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show agno
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-64168, inspect your installed packages using pip:
pip show agno
Analyze the terminal output to locate any version of Agno in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.2), your application is affected.
Note: The pip show agno command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Agno, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64168 Affected Agno Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
agno
|
PyPI |
≥ 2.0.0
< 2.2.2
|
2.2.2
|
References
Frequently Asked Questions
What is CVE-2025-64168?
Which Agno versions are affected?
What version fixes CVE-2025-64168?
Is agno affected?
What is the CVSS score of CVE-2025-64168?
What CWE is associated with CVE-2025-64168?
How can I check PyPI dependencies for CVE-2025-64168?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vw84-hprm-cxmm",
"modified" : "2025-10-31T21:24:53Z",
"published" : "2025-10-31T21:24:53Z",
"aliases" : [ "CVE-2025-64168" ],
"summary" : "Agno session state overwrites between different sessions/users",
"details" : "### Impact\nUnder 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.\n\n### Patches\nThis has been patched in version 2.2.2. Upgrade with `pip install -U agno`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "agno"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/agno-agi/agno/security/advisories/GHSA-vw84-hprm-cxmm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64168"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/agno-agi/agno"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362", "CWE-668" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-31T21:24:53Z",
"nvd_published_at" : "2025-10-31T15:15:43Z"
}
}