p PatchFirst

CVE-2025-59049

CVE-2025-59049 · Mockoon has a Path Traversal and LFI in the static file serving endpoint

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Mockoon provides way to design and run mock APIs. Prior to version 9.2.0, a mock API configuration for static file serving follows the same approach presented in the documentation page, where the server filename is generated via templating features from user input is vulnerable to Path Traversal and LFI, allowing an attacker to get any file in the mock server filesystem. The issue may be particularly relevant in cloud hosted server instances. Version 9.2.0 fixes the issue.

CVSS 7.5 · High · EPSS 1.8% · Public exploit · Fix available

Published
Updated

Stack: node

Affected products and versions

Original sources

Check your server →