CVE-2024-49375 Remote Code Execution via Remote Model Loading in Rasa
Attackers can achieve remote code execution by loading malicious models if the HTTP API is enabled without proper authentication.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-49375?
CVE-2024-49375 is a critical code injection vulnerability in RasaHQ rasa-pro-security-advisories, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Open source machine learning framework. A vulnerability has been identified in Rasa that enables an attacker who has the ability to load a maliciously crafted model remotely into a Rasa instance to achieve Remote Code Execution. The prerequisites for this are: 1. The HTTP API must be enabled on the Rasa instance eg with `--enable-api`. This is not the default configuration. 2. For unauthenticated RCE to be exploitable, the user must not have configured any authentication or other security controls recommended in our documentation. 3. For authenticated RCE, the attacker must posses a valid authentication token or JWT to interact with the Rasa API. This issue has been addressed in rasa version 3.6.21 and all users are advised to upgrade. Users unable to upgrade should ensure that they require authentication and that only trusted users are given access.
Which versions are affected by CVE-2024-49375?
10 open source packages ship an affected version, including rasa-pro and rasa.
| Package | Affected | Fixed in |
|---|---|---|
rasa-pro PyPI | All versions | 3.8.18 |
rasa-pro PyPI | All versions | 3.8.18 |
rasa-pro PyPI | All versions | 3.8.18 |
rasa-pro PyPI | From 3.10.0 | 3.10.12 |
rasa-pro PyPI | From 3.10.0 | 3.10.12 |
rasa-pro PyPI | From 3.9.0 | 3.9.16 |
4 more packages
rasa-pro PyPI | From 3.9.0 | 3.9.16 |
rasa PyPI | All versions | 3.6.21 |
rasa PyPI | All versions | 3.6.21 |
rasa PyPI | All versions | 3.6.21 |
How do I fix CVE-2024-49375?
Upgrade rasa-pro to a fixed version for your release line: 3.8.18, 3.10.12 or 3.9.16.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-49375 being exploited?
There is no known exploitation of CVE-2024-49375 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-cpv4-ggrr-7j9v, PYSEC-2026-513, PYSEC-2026-514.