# CVE-2024-5334: stitionai/devika - Path Traversal

> Live exploitation tracking for CVE-2024-5334 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2024-5334

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 7.5
- **Public exploit available:** Yes
- **Affected products:** stitionai/devika
- **Weaknesses:** CWE-73 (External Control of File Name or Path)
- **Tags:** ai_mcp

## Description

A local file read vulnerability exists in the stitionai/devika repository, affecting the latest version. The vulnerability is due to improper handling of the 'snapshot_path' parameter in the '/api/get-browser-snapshot' endpoint. An attacker can exploit this vulnerability by crafting a request with a malicious 'snapshot_path' parameter, leading to arbitrary file read from the system. This issue impacts the security of the application by allowing unauthorized access to sensitive files on the server.

## CrowdSec analysis

[CVE-2024-5334](https://euvd.enisa.europa.eu/vulnerability/CVE-2024-5334), a vulnerability in stitionai/devika repository allows local file read. Attackers can exploit this flaw by sending malicious `snapshot_path`, leading to arbitrary file read from the system.

CrowdSec has been tracking this vulnerability and its exploits since 7th of May 2025.

CrowdSec has not observed any significant exploitation activity targeting CVE-2024-5334 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.

Attackers exploit stitionai/devika by sending GET requests to the `/api/get-browser-snapshot` to achieve local file read.

## Timeline

- 2024-06-27: CVE Published. CVE-2024-5334 is published to NVD.
- 2025-05-07: Rule Released. CrowdSec releases a rule to detect CVE-2024-5334 exploitation attempts against the CrowdSec Network.
- 2025-06-28: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2024-5334 for the first time.

## References

- https://huntr.com/bounties/7eec128b-1bf5-4922-a95c-551ad3695cf6
- https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-5334.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2024-5334) follows observed exploitation activity for CVE-2024-5334. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
