Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9
- https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9
- https://github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd
- https://github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxr
FAQ
What is CVE-2025-59049?
CVE-2025-59049 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 serv...
How severe is CVE-2025-59049?
CVE-2025-59049 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-59049?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.