CVE-2025-59049

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-59049
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59049.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-59049
Aliases
Published
2025-09-10T18:49:06.060Z
Modified
2025-12-05T10:20:45.809845Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Mockoon has a Path Traversal and LFI in the static file serving endpoint
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22",
        "CWE-24",
        "CWE-73"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59049.json"
}
References

Affected packages

Git / github.com/mockoon/mockoon

Affected ranges

Type
GIT
Repo
https://github.com/mockoon/mockoon
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

cli-v1.*

cli-v1.6.1
cli-v1.6.2

cli-v2.*

cli-v2.0.0
cli-v2.1.0
cli-v2.2.0
cli-v2.2.1

Other

libs-v2023-01
libs-v2023-03

libs-v3.*

libs-v3.0.0
libs-v3.1.0

libs-v4.*

libs-v4.0.0
libs-v4.1.0

libs-v5.*

libs-v5.0.0
libs-v5.1.0

libs-v6.*

libs-v6.0.0
libs-v6.0.1
libs-v6.1.0
libs-v6.2.0

libs-v7.*

libs-v7.0.0

libs-v8.*

libs-v8.0.0
libs-v8.1.0
libs-v8.1.1
libs-v8.2.0
libs-v8.3.0
libs-v8.4.0

libs-v9.*

libs-v9.0.0
libs-v9.1.0

v0.*

v0.1.0
v0.1.1
v0.2.0
v0.3.0
v0.4.0

v1.*

v1.0.0
v1.1.0
v1.10.0
v1.11.0
v1.12.0
v1.13.0
v1.14.0
v1.14.1
v1.15.0
v1.16.0
v1.17.0
v1.18.0
v1.18.1
v1.19.0
v1.2.0
v1.20.0
v1.21.0
v1.21.1
v1.22.0
v1.23.0
v1.3.0
v1.4.0
v1.5.0
v1.5.1
v1.6.0
v1.7.0
v1.8.0
v1.9.0

v3.*

v3.0.0
v3.1.0

v4.*

v4.0.0
v4.1.0

v5.*

v5.0.0
v5.1.0

v6.*

v6.0.0
v6.0.1
v6.1.0
v6.2.0

v7.*

v7.0.0

v8.*

v8.0.0
v8.1.0
v8.1.1
v8.2.0
v8.3.0
v8.4.0

v9.*

v9.0.0
v9.1.0