cve.bz

CVE-2025-59049

7.5 highEPSS 1.8%

High (7.5). EPSS 1.8% chance of exploitation in the next 30 days. Fixed in @mockoon/commons-server 9.2.0.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.8% chance of exploitation in the next 30 days; higher than 78% of CVEs (scores of 2026-10-31)
CWEs
CWE-22, CWE-24, CWE-73
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w7f9-wqc4-3wxrnpm@mockoon/commons-server<9.2.09.2.0
GHSA-w7f9-wqc4-3wxrnpm@mockoon/cli<9.2.09.2.0

References

Check your stackJSON