SecurityContext

CVE-2026-35613: coursevault-preview - Path Traversal

  • Cve: CVE-2026-35613
  • Name: coursevault-preview - Path Traversal
  • 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.
  • Impact: Attackers can read arbitrary files outside the intended directory, potentially exposing sensitive information.
  • Remediation: Update to version 0.1.1 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0015
  • Epss percentile: 0.04073
  • Assignee: [email protected]
  • Published at: 2026-04-07T17:16:35Z
  • Age in days: 231
  • Modified at: 2026-10-26T21:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-35613
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/moritzmyrz/coursevault-preview/security/advisories/GHSA-9h9m-rr67-9jpgnvd2026-04-07

References

UrlSourceTags
https://github.com/moritzmyrz/coursevault-preview/security/advisories/GHSA-9h9m-rr67-9jpgnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
moritzmyrz:coursevault-preview< 0.1.1nonvd/v1/products/moritzmyrz/coursevault-preview

Projects

RepositoryLink kindsIndexedUrl
moritzmyrz/coursevault-previewfix, package, security_advisoryyes/v1/repositories/moritzmyrz/coursevault-preview

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-04-07
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts