{"id":"CVE-2024-40422","published":"2024-07-24T00:00:00Z","modified":"2025-01-29T21:07:57Z","title":"The snapshot_path parameter in the /api/get-browser-snapshot endpoint in stitionai devika v1 is susceptible to a path…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.11414,"percentile":0.96102,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/stitionai/devika","tags":[]},{"url":"https://github.com/stitionai/devika/pull/619","tags":[]},{"url":"https://github.com/alpernae/CVE-2024-40422","tags":[]},{"url":"https://medium.com/@alpernae/uncovering-path-traversal-in-devika-v1-a-deep-dive-into-cve-2024-40422-f8ce81398b99","tags":[]}],"priority":{"score":30.6,"factors":[{"name":"EPSS percentile","points":19.22},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2024-08-04"},"pocGithub":{"count":2,"skipped":0,"earliest":"2024-08-06","earliestUrl":"https://github.com/j3r1ch0123/CVE-2024-40422","repos":[{"name":"j3r1ch0123/CVE-2024-40422","url":"https://github.com/j3r1ch0123/CVE-2024-40422","stars":1,"created":"2024-08-06"},{"name":"alpernae/CVE-2024-40422","url":"https://github.com/alpernae/CVE-2024-40422","stars":0,"created":"2026-08-02"}]},"nuclei":[{"id":"CVE-2024-40422","name":"Devika v1 - Path Traversal","severity":"critical","path":"http/cves/2024/CVE-2024-40422.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-40422.yaml"}],"first":{"date":"2024-08-04","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52066"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-16T19:54:26.314753Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The snapshot_path parameter of the /api/get-browser-snapshot endpoint in stitionai devika v1 is vulnerable to path traversal, due to improper limitation of a pathname to a restricted directory. An attacker with network access and no authentication or user interaction can manipulate that parameter to traverse directories and read sensitive files on the server, compromising confidentiality and integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:14Z"},"euvd":{"id":"EUVD-2024-38452","exploited":false,"provenance":"source"},"exploits":[{"id":52066,"url":"https://www.exploit-db.com/exploits/52066","title":"Devika v1 - Path Traversal via 'snapshot_path'","date":"2024-08-04","verified":false,"provenance":"source"}]}