What’s Vulnerable › Vulnerabilities
CVE-2021-41127: Maliciously Crafted Model Archive Can Lead To Arbitrary File Write in rasa
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-10-21 · updated 2026-06-17
- Weakness: CWE-22
Description
Rasa is an open source machine learning framework to automate text-and voice-based conversations. In affected versions a vulnerability exists in the functionality that loads a trained model `tar.gz` file which allows a malicious actor to craft a `model.tar.gz` file which can overwrite or replace bot files in the bot directory. The vulnerability is fixed in Rasa 2.8.10. For users unable to update ensure that users do not upload untrusted model files, and restrict CLI or API endpoint access where a malicious actor could target a deployed Rasa instance.
Affected products
- RasaHQ rasa: before 2.8.10 — fixed in 2.8.10
How to fix
Upgrade to a fixed version: RasaHQ rasa 2.8.10. Check the vendor advisory for mitigations.
References
- https://github.com/RasaHQ/rasa/commit/1b6b502f52d73b4f8cd1959ce724b8ad0eb33989
- https://github.com/RasaHQ/rasa/security/advisories/GHSA-4365-fhm5-qcrx
- https://github.com/RasaHQ/rasa/commit/1b6b502f52d73b4f8cd1959ce724b8ad0eb33989
- https://github.com/RasaHQ/rasa/security/advisories/GHSA-4365-fhm5-qcrx
Get alerted when CVE-2021-41127 or the next vulnerability affects your stack