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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 10 Sep 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 10 Sep 2025 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Mockoon has a Path Traversal and LFI in the static file serving endpoint
Weaknesses CWE-22
CWE-24
CWE-73
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-09-10T19:19:20.964Z

Reserved: 2025-09-08T16:19:26.172Z

Link: CVE-2025-59049

cve-icon Vulnrichment

Updated: 2025-09-10T19:18:56.582Z

cve-icon NVD

Status : Received

Published: 2025-09-10T19:15:42.500

Modified: 2025-09-10T19:15:42.500

Link: CVE-2025-59049

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.