High severity7.5OSV Advisory· Published Sep 10, 2025· Updated Apr 15, 2026
CVE-2025-59049
CVE-2025-59049
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@mockoon/commons-servernpm | < 9.2.0 | 9.2.0 |
@mockoon/clinpm | < 9.2.0 | 9.2.0 |
Affected products
3- ghsa-coords2 versions
< 9.2.0+ 1 more
- (no CPE)range: < 9.2.0
- (no CPE)range: < 9.2.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-w7f9-wqc4-3wxrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59049ghsaADVISORY
- github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.tsnvdWEB
- github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.tsnvdWEB
- github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd2envdWEB
- github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxrnvdWEB
News mentions
0No linked articles in our index yet.