CVE-2025-59049 HIGH

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

Vendor Mockoon
Product mockoon
Weakness CWE-73
Published September 10, 2025
Last update September 10, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 10, 2025 CVE published
September 10, 2025 Record updated