{"id":"CVE-2026-103591","published":"2026-09-30T23:16:58.773","lastModified":"2026-10-02T16:16:43.040","description":"DeepWiki-Open through commit d92819a contains an unauthenticated arbitrary file read vulnerability in the GET /codemap/file endpoint via the repo_url parameter. Attackers can supply a non-URL repo_url value to bypass path containment checks and read any file accessible to the API process by specifying absolute file paths.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwes":["CWE-73"],"vendors":[],"products":[],"references":[{"url":"https://github.com/AsyncFuncAI/deepwiki-open","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/repository.py","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/routers/codemap.py","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/services/codemap.py","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/issues/590","tags":[]},{"url":"https://www.vulncheck.com/advisories/deepwiki-open-through-commit-d92819a-unauthenticated-arbitrary-file-read-via-codemap-file","tags":[]}],"exploitRefs":[{"url":"https://github.com/AsyncFuncAI/deepwiki-open","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/repository.py","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/routers/codemap.py","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/services/codemap.py","tags":[]},{"url":"https://github.com/AsyncFuncAI/deepwiki-open/issues/590","tags":[]}],"hasPoc":true,"ai":{"summary":"The vulnerability allows attackers to read any file accessible to the API process by supplying an absolute file path through the repo_url parameter in the GET /codemap/file endpoint. This bypasses path containment checks and can lead to sensitive data exposure.","exploitability":"Exploitation is straightforward with no authentication required, needing only a request to the vulnerable endpoint with a crafted absolute file path in the repo_url parameter.","blast_radius":"The impact could be significant as attackers may access configuration files, credentials, or source code that the API process can read, potentially leading to further system compromise.","remediation":"Upgrade to DeepWiki-Open version 2.590 or later to address this arbitrary file read vulnerability.","detection":"Monitor for GET requests to /codemap/file endpoint with repo_url parameter containing absolute paths (starting with /) in application logs, particularly those that attempt to access system files like /etc/passwd or configuration files.","tags":["file-read","web","unauthenticated","path-traversal"],"model":"garnet-coder","analyzedAt":"2026-10-13T09:06:49.341Z"}}