Skip to main content

Coursevault Preview EUVDEUVD-2026-19790

| CVE-2026-35613 MEDIUM
Path Traversal (CWE-22)
2026-04-07 GitHub_M GHSA-9h9m-rr67-9jpg
4.7
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents moderate real-world risk. The CVSS v3.1 vector (AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) indicates local attack vector with high complexity, no privileges required, and high confidentiality impact-consistent with a file disclosure vulnerability. The AC:H (high complexity) rating reflects the requirement for a specific directory structure (sibling directories with matching prefixes) and careful path construction, which reduces the practical likelihood of exploitation. However, confidentiality is fully compromised (C:H), meaning successful attacks expose file contents without limit. The attack requires no user interaction and no authentication. Since this is a development tool (preview utility for course materials), exposure is limited to systems where coursevault-preview is deployed, likely in educational or institutional environments with controlled access. No EPSS score, KEV confirmation, or public proof-of-concept data is provided in the input, so this appears to be a responsibly disclosed vulnerability with a published fix rather than actively weaponized. The moderate CVSS score combined with high attack complexity and limited deployment scope suggests this is a real but not critical priority-organizations using this package should update promptly, but this is not an emergency-level threat.

Exploit ScenarioDerived

An attacker with local system access and knowledge of the coursevault-preview installation identifies that the configured baseDir is '/opt/courses' and a sibling directory '/opt/courses_backup' exists on the system. By crafting a relativePath argument containing traversal sequences like '../courses_backup/../../../etc/passwd', the attacker bypasses the flawed startsWith() check, which matches the normalized path against '/opt/courses'. The application then inadvertently reads and returns sensitive files such as system password files or private keys, exfiltrating data without requiring authentication or user interaction. Exploitation requires understanding the target directory structure, but proof-of-concept code would likely be simple string manipulation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 07, 2026

Path traversal in coursevault-preview versions before 0.1.1 allows local attackers without authentication to read arbitrary files outside the configured base directory by exploiting a flawed boundary check in the resolveSafe utility. The vulnerability exists because the code uses String.prototype.startsWith() to validate normalized paths, which fails to enforce proper directory boundaries when sibling directories share the same string prefix. This enables disclosure of sensitive files on systems where the application is installed.

RemediationAI

Vendor-released patch: upgrade to coursevault-preview version 0.1.1 or later, which corrects the path traversal flaw by implementing proper directory boundary enforcement in the resolveSafe utility. Update your package via npm using 'npm install coursevault-preview@latest' or by explicitly specifying version 0.1.1 or higher in your package.json. If immediate upgrade is not feasible, review application deployments to ensure coursevault-preview operates with minimal file system exposure, restrict the baseDir to a dedicated directory tree without sibling directories containing sensitive data, and monitor for any unauthorized file access attempts in application logs. Consult the GitHub Security Advisory (https://github.com/moritzmyrz/coursevault-preview/security/advisories/GHSA-9h9m-rr67-9jpg) for additional context and patching timeline details.

Affected VersionsENISA

coursevault-preview < 0.1.1

Affected Packages

npm coursevault-preview fix: 0.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

coursevault-preview is a Node.js utility for safely previewing course material files from a configured directory. The vulnerability resides in the resolveSafe path normalization function, which implements CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The root cause is insufficient directory boundary enforcement: the code normalizes the provided relativePath and then checks if it starts with the baseDir string using startsWith(). This approach fails because string prefix matching does not account for directory separators. For example, if baseDir is '/course' and a sibling directory '/course_backup' exists, an attacker can construct a path like '../course_backup/../../../etc/passwd' that, after normalization, may begin with the '/course' prefix but actually reference files outside the intended boundary. The affected product is identified by CPE cpe:2.3:a:moritzmyrz:coursevault-preview:*:*:*:*:*:*:*:*, indicating all versions prior to 0.1.1 are vulnerable.

Know when Coursevault Preview gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Oct 26, 2026 - 21:23 NVD
5.1 (MEDIUM) 4.7 (MEDIUM)
Patch released
Apr 08, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 07, 2026 - 16:39 nvd
MEDIUM 5.1

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy