# CVE-2024-5547: Directory Traversal in stitionai/devika

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-27T17:33:35.488Z
- Modified: 2026-06-17T08:16:10.217Z
- Weaknesses: CWE-23
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- stitionai stitionai/devika: from unspecified before -
- stitionai devika: before *; 1.0

## References

- <https://huntr.com/bounties/7ea0eb5f-7643-4452-bc93-a225e2090283> (exploit, third-party-advisory)
- <https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2> (patch)

## Sources

- CVE List: [CVE-2024-5547](https://www.cve.org/CVERecord?id=CVE-2024-5547), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5547](https://nvd.nist.gov/vuln/detail/CVE-2024-5547), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5547 · Whole record: https://cve.day/CVE-2024-5547.json · Rebuilt by cve.day 2026-11-25T22:58:42.288Z
