CVE-2025-59049CWE-22CWE-24CWE-73

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

High · published September 10, 2025

CVSS v3.1
7.5
EPSS
2%
Percentile
77.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01764 · 77.9th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-24 · Path Traversal: '../filedir'; CWE-73 · External Control of File Name or Path
Published
2025-09-10T18:49Z
EPSS history
Timeline
  • 10 SEP 18:49Z
    Mockoon has a Path Traversal and LFI in the static file serving endpoint
    cvelistv5