CVE-2026-35613: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in moritzmyrz coursevault-preview
coursevault-preview versions prior to 0. 1. 1 contain a path traversal vulnerability in the resolveSafe utility. The vulnerability arises because the boundary check uses String. prototype. startsWith(baseDir) on a normalized path, which does not properly enforce directory boundaries. This allows an attacker controlling the relativePath argument to read files outside the configured base directory if a sibling directory shares the same string prefix. The issue is fixed in version 0. 1. 1.
AI Analysis
Technical Summary
The coursevault-preview utility before version 0.1.1 has a CWE-22 path traversal vulnerability in its resolveSafe utility. The vulnerability is due to an improper boundary check that uses startsWith(baseDir) on normalized paths, which fails to correctly restrict access to the intended directory. An attacker who can supply the relativePath argument may exploit this to read files outside the configured base directory, particularly when a sibling directory exists with a name sharing the same prefix as baseDir. This vulnerability has a CVSS 3.1 score of 5.1 (medium severity) and is fixed in version 0.1.1.
Potential Impact
Successful exploitation allows an attacker with local access (attack vector: local) and high attack complexity to read sensitive files outside the intended directory, potentially exposing confidential information. The vulnerability does not allow modification or denial of service, only confidentiality impact. There are no known exploits in the wild.
Mitigation Recommendations
Upgrade coursevault-preview to version 0.1.1 or later, where this path traversal vulnerability is fixed. Since the vendor has released a fixed version, applying this official update is the recommended remediation. Patch status is confirmed by the vendor stating the issue is fixed in 0.1.1.
CVE-2026-35613: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in moritzmyrz coursevault-preview
Description
coursevault-preview versions prior to 0. 1. 1 contain a path traversal vulnerability in the resolveSafe utility. The vulnerability arises because the boundary check uses String. prototype. startsWith(baseDir) on a normalized path, which does not properly enforce directory boundaries. This allows an attacker controlling the relativePath argument to read files outside the configured base directory if a sibling directory shares the same string prefix. The issue is fixed in version 0. 1. 1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The coursevault-preview utility before version 0.1.1 has a CWE-22 path traversal vulnerability in its resolveSafe utility. The vulnerability is due to an improper boundary check that uses startsWith(baseDir) on normalized paths, which fails to correctly restrict access to the intended directory. An attacker who can supply the relativePath argument may exploit this to read files outside the configured base directory, particularly when a sibling directory exists with a name sharing the same prefix as baseDir. This vulnerability has a CVSS 3.1 score of 5.1 (medium severity) and is fixed in version 0.1.1.
Potential Impact
Successful exploitation allows an attacker with local access (attack vector: local) and high attack complexity to read sensitive files outside the intended directory, potentially exposing confidential information. The vulnerability does not allow modification or denial of service, only confidentiality impact. There are no known exploits in the wild.
Mitigation Recommendations
Upgrade coursevault-preview to version 0.1.1 or later, where this path traversal vulnerability is fixed. Since the vendor has released a fixed version, applying this official update is the recommended remediation. Patch status is confirmed by the vendor stating the issue is fixed in 0.1.1.
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/7/2026, 5:01:33 PM
Last updated: 4/7/2026, 6:53:23 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.