CVE-2025-55449: Astrbot Remote Code Execution Vulnerability
CRITICALCVE-2025-55449 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-321: Use of Hard-coded Cryptographic Key) affecting Astrbot libraries in the PyPI ecosystem. The issue involves astrbot is vulnerable to rce with hard-coded jwt signing keys. Remediation is available by upgrading affected packages to version 3.5.18.
CVE-2025-55449 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-55449
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>=3.5.18
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-2025-55449, 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 3.5.18), 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-321: Use of Hard-coded Cryptographic Key, where the product uses a hard-coded, unchangeable cryptographic key. 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-2025-55449 Affected Astrbot Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
astrbot
|
PyPI |
< 3.5.18
|
3.5.18
|
References
Frequently Asked Questions
What is CVE-2025-55449?
Which Astrbot versions are affected?
What version fixes CVE-2025-55449?
Is astrbot affected?
What is the CVSS score of CVE-2025-55449?
What CWE is associated with CVE-2025-55449?
How can I check PyPI dependencies for CVE-2025-55449?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4m32-cjv7-f425",
"modified" : "2026-05-12T13:31:11Z",
"published" : "2025-11-14T21:52:23Z",
"aliases" : [ "CVE-2025-55449" ],
"summary" : "AstrBot is vulnerable to RCE with hard-coded JWT signing keys",
"details" : "### Summary\nAstrBot uses a hard-coded JWT signing key, allowing attackers to execute arbitrary commands by installing a malicious plugin.\n\n### Details\n\nAstrBot uses a [hard-coded JWT signing key](https://github.com/AstrBotDevs/AstrBot/blob/v3.5.16/astrbot/core/__init__.py), which allows attackers to bypass the authentication mechanism. Once bypassed, the attacker can install a Python plugin that will be imported [here](https://github.com/AstrBotDevs/AstrBot/blob/master/astrbot/dashboard/routes/plugin.py), enabling arbitrary command execution on the target host.\n\n### Impact\n\nAll publicly accessible AstrBot instances are vulnerable.\n\nFor more information, please see: [CVE-2025-55449-AstrBot-RCE](https://github.com/Marven11/CVE-2025-55449-AstrBot-RCE)\n\n### Patch\n\nThis vulnerability was first reported on **2025-06-21** and was patched on the **same day** (2025-06-21).\n\nThe vulnerability was publicly disclosed on **2025-11-14**. Prior to public disclosure, monitoring from AstrBot Cloud indicated that fewer than 2% of deployed instances were still running the affected version. Therefore, this disclosure is not expected to have a significant impact on existing active instances.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "astrbot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.5.18"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/AstrBotDevs/AstrBot/security/advisories/GHSA-4m32-cjv7-f425"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55449"
}, {
"type" : "WEB",
"url" : "https://github.com/AstrBotDevs/AstrBot/commit/d03e9fb90a0921a1bd10cf480bdacc9aaa246472"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AstrBotDevs/AstrBot"
}, {
"type" : "WEB",
"url" : "https://github.com/AstrBotDevs/AstrBot/releases/tag/v3.5.18"
}, {
"type" : "WEB",
"url" : "https://github.com/Marven11/CVE-2025-55449-AstrBot-RCE"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-321", "CWE-345", "CWE-798" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-14T21:52:23Z",
"nvd_published_at" : "2026-05-08T07:16:28Z"
}
}