{"id":"CVE-2026-35613","revision":"65c7860f09fb40b098b794a39e0ea100","records":[{"revision":"65c7860f09fb40b098b794a39e0ea100","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-35613","aliases":[],"title":"Path traversal in coursevault-preview due to improper base-directory boundary validation","description":"coursevault-preview is a utility for previewing course material files from a configured directory. coursevault-preview versions prior to 0.1.1 contain a path traversal vulnerability in the resolveSafe utility. The boundary check used String.prototype.startsWith(baseDir) on a normalized path, which does not enforce a directory boundary. An attacker who controls the relativePath argument to affected CoursevaultPreview methods may be able to read files outside the configured baseDir when a sibling directory exists whose name shares the same string prefix. This vulnerability is fixed in 0.1.1.","state":0,"publishedAt":"2026-04-07T16:39:44.237+00:00","modifiedAt":"2026-04-09T16:18:16.501+00:00","affected":[{"ecosystem":"Vendor product","name":"coursevault-preview","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"moritzmyrz\",\n                    \"product\": \"coursevault-preview\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.1.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.1,"severity":"MEDIUM"}],"references":["https://github.com/moritzmyrz/coursevault-preview/security/advisories/GHSA-9h9m-rr67-9jpg"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-35613","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-35613","identifiers":["CVE-2026-35613"]},"retained":false,"historicalAffected":[]}],"coverage":[]}