p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de @mockoon/commons-server

Vulnerabilidades publicadas para @mockoon/commons-server en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 3

  1. CVE-2026-59149

    Media · CVSS 6.5EPSS 0,48%Corrección disponible

    Mockoon: Path traversal in templated `filePath` lets a request escape the served directory (prefix-only base check)

    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.

    • Actualiza a 9.7.0
    Publicación Actualización
  2. CVE-2026-59148

    Alta · CVSS 8.8EPSS 0,26%Corrección disponible

    Mockoon: Unauthenticated admin API + wildcard CORS allows mock-state hijack and secret theft

    Mockoon provides way to design and run mock APIs. Prior to 9.7.0, Mockoon's admin API in commons-server/src/libs/server/admin-api.ts is mounted on the same Express listener as user-defined mock routes, enabled by default in shipped runtimes, serves Access-Control-Allow-Origin: * with write methods allowed, and has no authentication. Any unauthenticated caller who can reach the mock server port can read MOCKOON_* environment variables, write arbitrary process environment variables through /mockoon-admin/env-vars, rewrite mock route bodies, statuses, and headers through PUT /mockoon-admin/environment, read transaction logs and SSE streams, and

    • Actualiza a 9.7.0
    Publicación Actualización
  3. CVE-2025-59049

    Alta · CVSS 7.5EPSS 1,76%Código de explotación públicoCorrección disponible

    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.

    • Actualiza a 9.2.0
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →