CVE-2021-41127
HIGH 7.1CVSS 3.1Maliciously Crafted Model Archive Can Lead To Arbitrary File Write
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.
- Published
- 21 Oct 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-4365-fhm5-qcrxPYSEC-2021-381
- Sources
- NVDJSONOSV GHSA-4365-fhm5-qcrxJSONOSV PYSEC-2021-381JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rasa | rasacpe:2.3:a:rasa:rasa:*:*:*:*:*:*:*:* |
< 2.8.10 | 2.8.10 |
| OSV | PyPI | rasa | < 2.8.10 | 2.8.10 |
References
- https://github.com/RasaHQ/rasa/commit/1b6b502f52d73b4f8cd1959ce724b8ad0eb33989 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/RasaHQ/rasa/security/advisories/GHSA-4365-fhm5-qcrx · Third Party Advisory, WEB, ADVISORY
- https://github.com/RasaHQ/rasa · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/rasa/PYSEC-2021-381.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 21 Oct 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Oct 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Oct 2021)