CVE-2024-5752 Path Traversal in stitionai/devika
Attackers can exploit path traversal in project creation to overwrite arbitrary files, potentially leading to remote code execution in Devika.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5752?
CVE-2024-5752 is a critical path traversal vulnerability in stitionai/devika, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A path traversal vulnerability exists in stitionai/devika, specifically in the project creation functionality. In the affected version beacf6edaa205a5a5370525407a6db45137873b3, the project name is not validated, allowing an attacker to create a project with a crafted name that traverses directories. This can lead to arbitrary file overwrite when the application generates code and saves it to the specified project directory, potentially resulting in remote code execution.
Weakness: CWE-22
Which versions are affected by CVE-2024-5752?
How do I fix CVE-2024-5752?
No fix has been published for CVE-2024-5752 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-5752 being exploited?
There is no known exploitation of CVE-2024-5752 in the wild and no public exploit code.
Sources
Also known as GHSA-8jhr-8vq6-2gp8.