Skip to content
OpenAdvisories
High · 7.5 Scanner template CVE-2025-59049 EUVD-2025-27607GHSA-w7f9-wqc4-3wxr

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

Published Sep 10, 2025 · Updated Sep 10, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
mockoon mockoon < 9.2.0 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @mockoon/cli < 9.2.0 9.2.0 GHSA-w7f9-wqc4-3wxr
npm @mockoon/commons-server < 9.2.0 9.2.0 GHSA-w7f9-wqc4-3wxr

References