CVE-2025-59049: Mockoon has a Path Traversal and LFI in the static file serving endpoint

Published Sep 10, 2025
·
Updated

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.

Affected Software

1 affected component
Mockoon Mockoon<9.2.0

Event History

Sep 10, 2025
CVE Published
via MITRE·06:49 PM
Data Sourced
via MITRE·06:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-59049?

CVE-2025-59049 has been rated with a moderate severity level due to the potential for sensitive data exposure from improperly handled user input.

2

How do I fix CVE-2025-59049?

To fix CVE-2025-59049, upgrade to Mockoon version 9.2.0 or later, which addresses the vulnerability.

3

What does CVE-2025-59049 affect?

CVE-2025-59049 affects all versions of Mockoon prior to 9.2.0, specifically in the way user input is used for static file serving configurations.

4

What type of vulnerability is CVE-2025-59049?

CVE-2025-59049 is a security vulnerability related to improper input validation that could lead to path traversal attacks.

5

Is CVE-2025-59049 widely known?

CVE-2025-59049 is known within the cybersecurity community and is documented for awareness and remediation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203