CVE-2025-59049

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

Published Sep 10, 2025 CVSS 3.1 · 7.5 High EPSS 1.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-27607 Mockoon has a Path Traversal and LFI in the static file serving endpoint
Github GHSA Github GHSA GHSA-w7f9-wqc4-3wxr Mockoon has a Path Traversal and LFI in the static file serving endpoint
History
Type Values Removed Values Added
First Time appeared Mockoon
Mockoon mockoon
Vendors & Products Mockoon
Mockoon mockoon
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Mockoon has a Path Traversal and LFI in the static file serving endpoint
Weaknesses CWE-22
CWE-24
CWE-73
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 10, 2025, 7:19 PM
Reserved
Sep 8, 2025, 4:19 PM
Status
Deferred
Published
Sep 10, 2025, 7:15 PM
Modified
Jun 17, 2026, 9:45 AM