PYSEC-2026-285
Vulnerability from pysec - Published: 2026-06-29 11:50 - Updated: 2026-06-29 12:05Summary
AstrBot uses a hard-coded JWT signing key, allowing attackers to execute arbitrary commands by installing a malicious plugin.
Details
AstrBot uses a hard-coded JWT signing key, which allows attackers to bypass the authentication mechanism. Once bypassed, the attacker can install a Python plugin that will be imported here, enabling arbitrary command execution on the target host.
Impact
All publicly accessible AstrBot instances are vulnerable.
For more information, please see: CVE-2025-55449-AstrBot-RCE
Patch
This vulnerability was first reported on 2025-06-21 and was patched on the same day (2025-06-21).
The 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.
| Name | purl | astrbot |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "astrbot"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.18"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4.39",
"3.5.10",
"3.5.11",
"3.5.12",
"3.5.13",
"3.5.14",
"3.5.15",
"3.5.17",
"3.5.6",
"3.5.7",
"3.5.8",
"3.5.9"
]
}
],
"aliases": [
"CVE-2025-55449",
"GHSA-4m32-cjv7-f425"
],
"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.",
"id": "PYSEC-2026-285",
"modified": "2026-06-29T12:05:20.658458Z",
"published": "2026-06-29T11:50:36.550940Z",
"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"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/astrbot"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-4m32-cjv7-f425"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "AstrBot is vulnerable to RCE with hard-coded JWT signing keys"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.