Home

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.

PUBLISHED Reserved 2025-09-08 | Published 2025-09-10 | Updated 2025-09-10 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-73: External Control of File Name or Path

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-24: Path Traversal: '../filedir'

Product status

< 9.2.0
affected

References

github.com/...ockoon/security/advisories/GHSA-w7f9-wqc4-3wxr

github.com/...ommit/c7f6e23e87dc3b8cc44e5802af046200a797bd2e

github.com/...kages/commons-server/src/libs/server/server.ts

github.com/...kages/commons-server/src/libs/server/server.ts

cve.org (CVE-2025-59049)

nvd.nist.gov (CVE-2025-59049)

Download JSON