AstrBot is vulnerable to RCE with hard-coded JWT signing keys
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Summary
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.
Text from GitHub Advisory Database
Affected versions 15
- astrbot, pip< 3.5.18GitHub
- n/aaffected: n/aCVE List
- astrbot, PyPIfrom first release, fixed in 3.5.18OSV
- astrbot, PyPI3.4.39OSV
- astrbot, PyPI3.5.10OSV
- astrbot, PyPI3.5.11OSV
- astrbot, PyPI3.5.12OSV
- astrbot, PyPI3.5.13OSV
- astrbot, PyPI3.5.14OSV
- astrbot, PyPI3.5.15OSV
- astrbot, PyPI3.5.17OSV
- astrbot, PyPI3.5.6OSV
- astrbot, PyPI3.5.7OSV
- astrbot, PyPI3.5.8OSV
- astrbot, PyPI3.5.9OSV
References 9
- github.com/AstrBotDevs/AstrBot/commit/d03e9fb90a0921a1bd10cf480bdacc9aaa246472Fixvia GitHub
- github.com/AstrBotDevs/AstrBot/releases/tag/v3.5.18Fixvia GitHub
- github.com/AstrBotDevs/AstrBot/security/advisories/GHSA-4m32-cjv7-f425Advisoryvia GitHub
- github.com/pypa/advisory-database/tree/main/vulns/astrbot/PYSEC-2026-285.yamlAdvisoryvia GitHub
- github.com/advisories/GHSA-4m32-cjv7-f425Advisoryvia GitHub
- github.com/Marven11/CVE-2025-55449-AstrBot-RCEReferencevia CVE List
- nvd.nist.gov/vuln/detail/CVE-2025-55449Referencevia GitHub
- pypi.org/project/astrbotReferencevia GitHub
- github.com/AstrBotDevs/AstrBotReferencevia CVE List