{"id":"CVE-2024-40422","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-40422","generatedAt":"2026-11-04T21:37:27.436Z","title":"The snapshot_path parameter in the /api/get-browser-snapshot endpoint in stitionai devika v1 is susceptible to a path traversal attack.","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.","published":"2024-07-24T16:15:07.000Z","lastModified":"2026-06-17T07:45:52.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"cwe":["CWE-22"],"affected":["stitionai/devika"],"epss":{"score":0.11414,"percentile":0.96006,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2024-08-04","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":52066,"kind":"exploit","title":"Devika v1 - Path Traversal via 'snapshot_path'","url":"https://www.exploit-db.com/exploits/52066","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/python/webapps/52066.py","file":"exploits/python/webapps/52066.py","published":"2024-08-04","added":"2024-08-04","updated":"2024-08-04","author":"Alperen Ergel","type":"webapps","platform":"python","port":null,"verified":false,"codes":["CVE-2024-40422"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 11.4%, higher than 96% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/alpernae/CVE-2024-40422","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/stitionai/devika","tags":["Product"],"source":"cve@mitre.org"},{"url":"https://github.com/stitionai/devika/pull/619","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"https://medium.com/@alpernae/uncovering-path-traversal-in-devika-v1-a-deep-dive-into-cve-2024-40422-f8ce81398b99","source":"cve@mitre.org"},{"url":"https://github.com/alpernae/CVE-2024-40422","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/stitionai/devika","tags":["Product"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/stitionai/devika/pull/619","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-40422","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}