Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35613: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in moritzmyrz coursevault-preview

0
Medium
VulnerabilityCVE-2026-35613cvecve-2026-35613cwe-22
Published: Tue Apr 07 2026 (04/07/2026, 16:39:44 UTC)
Source: CVE Database V5
Vendor/Project: moritzmyrz
Product: coursevault-preview

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 12:24:57 UTC

Technical Analysis

The path traversal vulnerability (CWE-22) in moritzmyrz coursevault-preview affects versions before 0.1.1. The resolveSafe utility attempts to restrict file access to a configured base directory by checking if the normalized path starts with the base directory string. However, this check is insufficient because it can be bypassed when a sibling directory shares the same prefix as the base directory, allowing an attacker to read arbitrary files outside the intended directory. This vulnerability has a CVSS 3.1 score of 5.1, indicating medium severity. No official patch link or vendor advisory is provided, but the vulnerability is fixed in version 0.1.1.

Potential Impact

An attacker who can control the relativePath argument may read files outside the intended base directory, potentially exposing sensitive information. The vulnerability does not affect integrity or availability, only confidentiality. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Upgrade coursevault-preview to version 0.1.1 or later, where this path traversal vulnerability is fixed. Since no official patch link or advisory is provided, verify the version update from the vendor or source repository before deployment. Patch status is not yet confirmed via vendor advisory; check the vendor's official channels for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-03T21:25:12.163Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d534e5aaed68159a357dd1

Added to database: 4/7/2026, 4:46:29 PM

Last enriched: 4/15/2026, 12:24:57 PM

Last updated: 5/22/2026, 1:13:27 PM

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses