Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| AsyncFuncAI / deepwiki-open | affected 0 through d92819a |
CWE
CWE-73
References
- https://github.com/AsyncFuncAI/deepwiki-open/issues/590
- https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/services/codemap.py
- https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/routers/codemap.py
- https://github.com/AsyncFuncAI/deepwiki-open/blob/d92819a9c9f3b99416e3580ff235fc9d3adf8b89/api/repository.py
- https://github.com/AsyncFuncAI/deepwiki-open
- https://www.vulncheck.com/advisories/deepwiki-open-through-commit-d92819a-unauthenticated-arbitrary-file-read-via-codemap-file
ADP enrichment
No English description supplied.
No references supplied.