CVE-2025-59049

published 10 Sep 2025 · updated 10 Sep 2025

Mockoon has a Path Traversal and LFI in the static file serving endpoint

8.5HighCVSS 7.5EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mockoon<9.2.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-59049 severity on Zeptric[![CVE-2025-59049](https://zeptric.io/badge/cve/CVE-2025-59049.svg)](https://zeptric.io/cve/CVE-2025-59049)