Security mailing lists by PureSourceCode

CVE-2025-59049

HIGH 7.5CVSS 3.1

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

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
10 Sep 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22CWE-73
Also known as
GHSA-w7f9-wqc4-3wxr
Sources
NVDJSONOSV GHSA-w7f9-wqc4-3wxrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @mockoon/commons-server < 9.2.0 9.2.0
OSV npm @mockoon/cli < 9.2.0 9.2.0

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 10 Sep 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.