{"cve":"CVE-2025-59049","nvd":{"published":"2025-09-10T19:15:42.500","modified":"2026-06-17T09:45:30.143","status":"Deferred","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.\nThe issue may be particularly relevant in cloud hosted server instances. Version 9.2.0 fixes the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22","CWE-24","CWE-73"],"references":["https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.ts#L1400","https://github.com/mockoon/mockoon/blob/1ed31c4059d7f757f6cb2a43e10dc81b0d9c55a9/packages/commons-server/src/libs/server/server.ts#L1551","https://github.com/mockoon/mockoon/commit/c7f6e23e87dc3b8cc44e5802af046200a797bd2e","https://github.com/mockoon/mockoon/security/advisories/GHSA-w7f9-wqc4-3wxr"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2025-59049","score":0.01764,"percentile":0.78052,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w7f9-wqc4-3wxr","url":"https://osv.dev/vulnerability/GHSA-w7f9-wqc4-3wxr","summary":"Mockoon has a Path Traversal and LFI in the static file serving endpoint","modified":"2025-09-13T03:03:19Z","packages":[{"ecosystem":"npm","name":"@mockoon/commons-server","purl":"pkg:npm/%40mockoon/commons-server","ranges":["<9.2.0"],"fixed":["9.2.0"]},{"ecosystem":"npm","name":"@mockoon/cli","purl":"pkg:npm/%40mockoon/cli","ranges":["<9.2.0"],"fixed":["9.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}