Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M

CVE-2026-35613Path traversal in coursevault-preview due to improper base-directory boundary validation

Medium 5.1

In plain English

A medium-severity path traversal in coursevault-preview from moritzmyrz. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.1Medium
Exploit odds (30 days)0.1%top 96.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmcoursevault-preview0.1.1GHSA-9h9m-rr67-9jpg

Affected products (as reported)

VendorProductVersions
moritzmyrz coursevault-preview < 0.1.1

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References