# CVE-2025-59049

## Summary

- **CVE ID:** CVE-2025-59049
- **Severity:** HIGH
- **CVSS Score:** 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
- **CWE:** CWE-73, CWE-22, CWE-24
- **Published:** Sep 10, 2025
- **Last Modified:** Mar 13, 2026

## 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.

## Affected Products

- mockoon — mockoon (< 9.2.0)

## References

- [CNA](https://github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxr)
- [CNA](https://github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd2e)
- [CNA](https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.ts#L1400)
- [CNA](https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.ts#L1551)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 1.78%
- **EPSS Percentile:** 76.9

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._