Vulnerabilities in pkg:pypi/AstrBot
PACKAGECVE-2026-10212 is a LOW (CVSS 6.3) manipulation of astr_main_agent's session_id parameter vulnerability (CWE-285: Improper Authorization) affecting AstrBot libraries in the PyPI ecosystem. The issue involves manipulation of astr_main_agent's session_id parameter leads to authorization bypass. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/AstrBot
Vulnerability advisories affecting package pkg:pypi/AstrBot. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-r6vm-4xwg-w69h | CVE-2026-10212 | LOW | AstrBot: Manipulation of astr_main_agent's session_id parameter leads to authorization bypass |
| GHSA-f63h-wc26-pmvc | CVE-2026-8754 | LOW | AstrBot: File upload vulnerability in the function post_file of the file astrbot/dashboard/routes/chat.py |
| GHSA-mq9q-25hm-g4gp | CVE-2026-7579 | MODERATE | AstrBot Makes Use of Hard-coded Password |
| GHSA-h3rr-9wqj-v3c6 | CVE-2026-6984 | LOW | AstrBot has Incomplete Filtering of Special Elements |
| GHSA-vm2f-46xc-5jc3 | CVE-2025-57697 | MODERATE | AstrBot has an arbitrary file read vulnerability in function _encode_image_bs64 |
| GHSA-xrj9-mw57-j34v | CVE-2025-57698 | HIGH | AstrBot contains a directory traversal vulnerability |
CVE-2026-10212 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2026-10212
To remediate this vulnerability, upgrade all affected AstrBot 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 AstrBot>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show AstrBot
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-10212, inspect your installed packages using pip:
pip show AstrBot
Analyze the terminal output to locate any version of AstrBot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show AstrBot command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In AstrBot, 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-2026-10212 Affected AstrBot Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
AstrBot
|
PyPI |
≤ 4.24.2
|
|
References
Frequently Asked Questions
What is CVE-2026-10212?
Which AstrBot versions are affected?
What version fixes CVE-2026-10212?
Is AstrBot affected?
What is the CVSS score of CVE-2026-10212?
What CWE is associated with CVE-2026-10212?
How can I check PyPI dependencies for CVE-2026-10212?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r6vm-4xwg-w69h",
"modified" : "2026-07-07T23:47:34Z",
"published" : "2026-06-01T03:30:26Z",
"aliases" : [ "CVE-2026-10212" ],
"summary" : "AstrBot: Manipulation of astr_main_agent's session_id parameter leads to authorization bypass",
"details" : "A vulnerability was identified in AstrBotDevs AstrBot 4.24.2. This affects the function astr_main_agent of the file astrbot/core/astr_main_agent.py. Such manipulation of the argument session_id leads to authorization bypass. It is possible to launch the attack remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "AstrBot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.24.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10212"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/YLChen-007/91a7f955143099e1747424707dfad0f9"
}, {
"type" : "WEB",
"url" : "https://github.com/AstrBotDevs/AstrBot"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/cve/CVE-2026-10212"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/821923"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/367491"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/367491/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-07T23:47:34Z",
"nvd_published_at" : "2026-06-01T03:16:23Z"
}
}