# CVE-2021-41127: Maliciously Crafted Model Archive Can Lead To Arbitrary File Write in rasa

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2021-10-21T20:15:11.000Z
- Modified: 2026-07-08T06:27:26.694Z
- Also known as: GHSA-4365-fhm5-qcrx, PYSEC-2021-381
- Weaknesses: CWE-22, CWE-23
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- RasaHQ rasa: < 2.8.10
- rasa (PyPI): before 2.8.10; before 1b6b502f52d73b4f8cd1959ce724b8ad0eb33989
- rasa rasa: before 2.8.10

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/RasaHQ/rasa/security/advisories/GHSA-4365-fhm5-qcrx> (advisory, third-party-advisory, web)
- <https://github.com/RasaHQ/rasa/commit/1b6b502f52d73b4f8cd1959ce724b8ad0eb33989> (fix, patch, third-party-advisory, web)
- <https://github.com/RasaHQ/rasa> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/rasa/PYSEC-2021-381.yaml> (web)

## Sources

- CVE List: [CVE-2021-41127](https://www.cve.org/CVERecord?id=CVE-2021-41127), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-4365-fhm5-qcrx](https://github.com/advisories/GHSA-4365-fhm5-qcrx), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41127](https://nvd.nist.gov/vuln/detail/CVE-2021-41127), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-381](https://osv.dev/vulnerability/PYSEC-2021-381), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-41127 · Whole record: https://cve.day/CVE-2021-41127.json · Rebuilt by cve.day 2026-11-25T22:58:04.724Z
