CVE-2024-49375 Remote Code Execution via Remote Model Loading in Rasa

Critical 9.1 Published Updated

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.

Weakness: CWE-94, CWE-502

Which versions are affected by CVE-2024-49375?

10 open source packages ship an affected version, including rasa-pro and rasa.

PackageAffectedFixed in
rasa-pro PyPIAll versions3.8.18
rasa-pro PyPIAll versions3.8.18
rasa-pro PyPIAll versions3.8.18
rasa-pro PyPIFrom 3.10.03.10.12
rasa-pro PyPIFrom 3.10.03.10.12
rasa-pro PyPIFrom 3.9.03.9.16
4 more packages
rasa-pro PyPIFrom 3.9.03.9.16
rasa PyPIAll versions3.6.21
rasa PyPIAll versions3.6.21
rasa PyPIAll versions3.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.

Is CVE-2024-49375 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free