What’s Vulnerable › Vulnerabilities
CVE-2024-5547: Directory Traversal in stitionai/devika
- Severity: high (CVSS 7.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-27 · updated 2026-06-17
- Weakness: CWE-23
Description
A directory traversal vulnerability exists in the /api/download-project-pdf endpoint of the stitionai/devika repository, affecting the latest version. The vulnerability arises due to insufficient sanitization of the 'project_name' parameter in the download_project_pdf function. Attackers can exploit this flaw by manipulating the 'project_name' parameter in a GET request to traverse the directory structure and download arbitrary PDF files from the system. This issue allows attackers to access sensitive information that could be stored in PDF format outside the intended directory.
Affected products
- stitionai/devika: 1.0
References
- https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2
- https://huntr.com/bounties/7ea0eb5f-7643-4452-bc93-a225e2090283
- https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2
- https://huntr.com/bounties/7ea0eb5f-7643-4452-bc93-a225e2090283
Get alerted when CVE-2024-5547 or the next vulnerability affects your stack