Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-59049
September 10, 2025
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.
Affected Packages
https://github.com/mockoon/mockoon.git (GITHUB):
Affected version(s) >=v0.1.0 <v9.2.0
Fix Suggestion:
Update to version v9.2.0
@mockoon/commons-server (NPM):
Affected version(s) >=1.0.0 <9.2.0
Fix Suggestion:
Update to version 9.2.0
@mockoon/cli (NPM):
Affected version(s) >=0.1.0-beta.0 <9.2.0
Fix Suggestion:
Update to version 9.2.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Path Traversal: '../filedir'
External Control of File Name or Path
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
2.21