Directory Traversal in stitionai/devika
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-5547
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 22:07 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-5547
Complete source record
{
"id": "9161b4dce6718ef4121840a52f7a3e148361ad6ffcb894da3230bf41bdd35953",
"url": "https://osv.dev/vulnerability/CVE-2024-5547",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Directory Traversal in stitionai/devika",
"summary": "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.",
"evidence": "osv:CVE-2024-5547",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-5547",
"aliases": [
"CVE-2024-5547"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/stitionai/devika",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6acce21fb08c3d1123ef05df6a33912bf0ee77c2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "6acce21fb08c3d1123ef05df6a33912bf0ee77c2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5547.json"
}
}
],
"modified": "2026-10-28T02:30:23.885205873Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/7ea0eb5f-7643-4452-bc93-a225e2090283",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5547.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-5547",
"https://github.com/stitionai/devika/commit/6acce21fb08c3d1123ef05df6a33912bf0ee77c2"
],
"provider_metadata": {
"cwe_ids": [
"CWE-23"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5547.json"
}
},
"related_cves": [
{
"value": "CVE-2024-5547",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490466,
"published_at": "2024-06-27T17:33:35.488+00:00"
}