Path Traversal in Mockoon
CVE-2025-59049
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.018 (77.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: -0.000
Affected products
- Mockoon — versions < 9.2.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxr
- github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd2e
- github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packag…
- github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packag…
Frequently asked questions
- What is CVE-2025-59049?
- CVE-2025-59049 is a high-severity vulnerability in Mockoon, classified under Path Traversal. CVSS score: 7.5/10. Published 2025-09-10.
- How severe is CVE-2025-59049?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-59049 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.