MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-59149GHSA-8wqc-v2q8-vff2

Mockoon: Path traversal in templated `filePath` lets a request escape the served directory (prefix-only base check)

Not on CISA KEVCVSS 6.5 (v3.1)
  • Overview

Summary

Mockoon provides way to design and run mock APIs. Prior to 9.7.0, a FILE response whose filePath embeds request data is confined by getSafeFilePath in packages/commons-server/src/libs/server/server.ts with resolvedPath.startsWith(staticBaseDir). That prefix test has no path-separator boundary, so a

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)