CVE-2026-35613
MEDIUM 4.7CVSS 3.1coursevault-preview has a path traversal due to improper base-directory boundary validation
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.
- Published
- 7 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-9h9m-rr67-9jpg
- Sources
- NVDJSONOSV GHSA-9h9m-rr67-9jpgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moritzmyrz | coursevault-previewcpe:2.3:a:moritzmyrz:coursevault-preview:*:*:*:*:*:node.js:*:* |
< 0.1.1 | 0.1.1 |
| OSV | npm | coursevault-preview | < 0.1.1 | 0.1.1 |
References
- https://github.com/moritzmyrz/coursevault-preview/security/advisories/GHSA-9h9m-rr67-9jpg · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35613 · ADVISORY
- https://github.com/moritzmyrz/coursevault-preview · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 7 Apr 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Apr 2026)