CVE-2024-40422 is a path traversal vulnerability in stitionai devika v1 affecting the /api/get-browser-snapshot endpoint. The flaw is caused by insufficient validation or sanitization of the snapshot_path parameter, allowing an attacker to supply directory traversal sequences and cause the application to access files outside the intended directory scope. By manipulating this parameter, an attacker may read sensitive files from the underlying server filesystem, potentially exposing application data, configuration material, or operating system files. The issue affects confidentiality and may also contribute to broader system compromise depending on what files are exposed.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a proof-of-concept exploit for CVE-2024-40422, a path traversal vulnerability in StitionAI Devika v1. The exploit is implemented in Python (exploit.py) and targets the '/api/get-browser-snapshot' HTTP endpoint. By sending a crafted GET request with the 'snapshot_path' parameter set to '../../../../../../etc/passwd', the script attempts to read the contents of the /etc/passwd file from the vulnerable server. The script parses and prints user account information from the file. The repository consists of a README.md describing the vulnerability and usage, and a single exploit script. The exploit requires the target to be running the vulnerable Devika v1 software and exposes the relevant API endpoint. No payload customization or post-exploitation features are present, making this a straightforward proof-of-concept for file read via path traversal.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.