Description
The snapshot_path parameter in the /api/get-browser-snapshot endpoint in stitionai devika v1 is susceptible to a path traversal attack. An attacker can manipulate the snapshot_path parameter to traverse directories and access sensitive files on the server. This can potentially lead to unauthorized access to critical system files and compromise the confidentiality and integrity of the system.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Devika v1 - Path Traversal via 'snapshot_path' EDB-52066 · webapps · Aug 4, 2024
GitHub 2 repositories
-
j3r1ch0123/CVE-2024-40422 ★ 1 · Aug 6, 2024
Found this on exploit-db, decided to make my own for practice. This exploit will search out the passwd file and print the contents on a vulnerable system.
-
alpernae/CVE-2024-40422 ★ 0 · Aug 2, 2026
Python implementation/PoC for CVE-2024-40422. Exploits a critical directory traversal vulnerability in Devika v1's /api/get-browser-snapshot endpoint to read arbitrary system files.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Devika v1 - Path Traversal http/cves/2024/CVE-2024-40422.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.