CVE-2025-55449
PyPI vulnerability
### 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](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. ### Impact All publicly accessible AstrBot instances are vulnerable. For more information, please see: [CVE-2025-55449-AstrBot-RCE](https://github.com/Marven11/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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
PyPI. The exact versions are in the references.
What to do now
- Check your exposureFind out whether PyPI runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/AstrBotDevs/AstrBot/security/advisories/GHSA-4m32-cjv7-f425
- github.com/AstrBotDevs/AstrBot/commit/d03e9fb90a0921a1bd10cf480bdacc9aaa246472
- github.com/AstrBotDevs/AstrBot/releases/tag/v3.5.18
- github.com/Marven11/CVE-2025-55449-AstrBot-RCE
- github.com/advisories/GHSA-4m32-cjv7-f425
- github.com/AstrBotDevs/AstrBot
- nvd.nist.gov/vuln/detail/CVE-2025-55449
- github.com/pypa/advisory-database/tree/main/vulns/astrbot/PYSEC-2026-285.yaml
- nvd.nist.gov/vuln/detail/CVE-2025-55449
- cve.org/CVERecord?id=CVE-2025-55449
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.