CVE-2025-59049
Mockoon provides way to design and run mock APIs. Prior to version …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-
- github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-
- github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd2e
- github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxr
- nvd.nist.gov/vuln/detail/CVE-2025-59049
- github.com/advisories/GHSA-w7f9-wqc4-3wxr
- nvd.nist.gov/vuln/detail/CVE-2025-59049
- cve.org/CVERecord?id=CVE-2025-59049
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.