Skip to main content
← All vulnerabilities
CVE-2026-35613GHSA-9H9M-RR67-9JPG

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • moritzmyrz coursevault-preview

    fixed in 0.1.1

  • coursevault-previewnpm

    fixed in 0.1.1

References 1

GitHub · moritzmyrz/coursevault-preview