{"cve":"CVE-2026-35613","nvd":{"published":"2026-04-07T17:16:35.583","modified":"2026-10-26T21:10:00.170","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7},"cwes":["CWE-22"],"references":["https://github.com/moritzmyrz/coursevault-preview/security/advisories/GHSA-9h9m-rr67-9jpg"],"products":["moritzmyrz:coursevault-preview"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-35613","score":0.00141,"percentile":0.03386,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-9h9m-rr67-9jpg","url":"https://osv.dev/vulnerability/GHSA-9h9m-rr67-9jpg","summary":"coursevault-preview has a path traversal due to improper base-directory boundary validation","modified":"2026-04-08T00:27:17.222764Z","packages":[{"ecosystem":"npm","name":"coursevault-preview","purl":"pkg:npm/coursevault-preview","ranges":["<0.1.1"],"fixed":["0.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}