CVE-2026-59149
Last modified
CVE-2026-59149 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Mockoon provides way to design and run mock APIs. Prior to 9.7.0, a FILE response whose filePath embeds request data is confined by getSafeFilePath in packages/commons-server/src/libs/server/server.ts with resolvedPath.startsWith(staticBaseDir). EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Mockoon provides way to design and run mock APIs. Prior to 9.7.0, a FILE response whose filePath embeds request data is confined by getSafeFilePath in packages/commons-server/src/libs/server/server.ts with resolvedPath.startsWith(staticBaseDir). That prefix test has no path-separator boundary, so a ../-escaped path whose absolute form string-prefixes the base directory passes, allowing an unauthenticated client to read files from sibling paths outside the served directory through HTTP sendFile, WebSocket, or callbacks. This issue is fixed in version 9.7.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| mockoon | mockoon | < 9.7.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59149?
How severe is CVE-2026-59149?
How do I fix CVE-2026-59149?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59143Data::RoaringBitmap::Shared versions before 0.02 for Perl al…6.3
- CVE-2026-59144Data::RingBuffer::Shared versions before 0.04 for Perl allow…9.8
- CVE-2026-59145Data::Intern::Shared versions before 0.02 for Perl allow an …9.1
- CVE-2026-59146Data::SpatialHash::Shared versions before 0.02 for Perl allo…7.8
- CVE-2026-59147Data::DisjointSet::Shared versions before 0.02 for Perl allo…9.8
- CVE-2026-59148Mockoon provides way to design and run mock APIs. Prior to 9…8.8
- CVE-2026-5915Insufficient validation of untrusted input in WebML in Googl…8.1
- CVE-2026-59151Prowler is a cloud security platform. Prior to 5.30.3, Prowl…9.6
- CVE-2026-59152LangSmith Client SDKs provide SDK's for interacting with the…5
- CVE-2026-59153Anki is a program for creating and reviewing flashcards. Pri…2.1
- CVE-2026-59154Wekan is open source kanban built with Meteor. Prior to 9.64…4.3
- CVE-2026-59155Nezha Monitoring is a self-hostable, lightweight, servers an…6.9
Are you affected by CVE-2026-59149?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
