Description
A directory traversal vulnerability exists in the stitionai/devika repository, specifically within the /api/download-project endpoint. Attackers can exploit this vulnerability by manipulating the 'project_name' parameter in a GET request to download arbitrary files from the system. This issue affects the latest version of the repository. The vulnerability arises due to insufficient input validation in the 'download_project' function, allowing attackers to traverse the directory structure and access files outside the intended directory. This could lead to unauthorized access to sensitive files on the server.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| stitionai | stitionai/devika | >= unspecified, < - |
| stitionai | devika | <= * |
References
- https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2Patch
- https://huntr.com/bounties/ad7dd135-8839-4042-87c0-105af61d262cExploit, Third Party Advisory
- https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2Patch
- https://huntr.com/bounties/ad7dd135-8839-4042-87c0-105af61d262cExploit, Third Party Advisory
Timeline
- Published
- Jun 27, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed