CVE-2025-59049mockoon
High 7.5 No auth needed
Follow: this CVE · mockoon · mockoon We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Sep 10, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for mockoon.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @mockoon/cli |
< 9.2.0 |
9.2.0 |
npm install @mockoon/cli@9.2.0 |
| npm | @mockoon/commons-server |
< 9.2.0 |
9.2.0 |
npm install @mockoon/commons-server@9.2.0 |
Per OSV / GitHub Advisories (GHSA-w7f9-wqc4-3wxr). Check the version in your lockfile before upgrading.
Affected products
- mockoon · mockoon
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.