nday
CVE-2026-59148 GHSA-rqx4-3f6q-3x2v

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

mockoon / mockoon

Apareció una PoC pública 132 días después de la divulgación. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recoge 1 de las 4 fuentes de PoC: nuclei. No figura en el KEV de CISA.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

authentication bypass
CWE-306, stated by the CNA GitHub_M y NVD, republishing [email protected]
broken access control
CWE-732, stated by the CNA GitHub_M y NVD, republishing [email protected]
CSRF
CWE-352, stated by the CNA GitHub_M y NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
nuclei
nuclei templates CVE-2026-59148
etapa
POC
divulgación
divulgación → PoC
T+132d
cvss
8.8 HIGH v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
07-09T18:27Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
11-18T09:03Z
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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 purge state. This issue is fixed in version 9.7.0.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 8.8, severidad alta. La evaluación SSVC de CISA asigna a la explotación el valor poc.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 433893,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-59148",
  "occurred_at": "2026-07-09T18:27:18.579Z",
  "observed_at": "2026-11-13T05:39:58.072953Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-07-09T19:24:39.649769Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-07-09T18:27:18.579Z",
    "assigner_short_name": "GitHub_M"
  }
}
hora observada en tiempo real por nday
+POCPoC pública

Nuclei tiene la plantilla de detección CVE-2026-59148 (Mockoon < 9.7.0 - Unauthenticated Admin API). La fuente no indica cuándo se publicó la plantilla.

fuente nuclei · nday , observado en tiempo real · en bruto
{
  "id": 478866,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-59148.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-18T09:03:12.607913Z",
  "is_backfill": false,
  "dedupe_key": "CVE-2026-59148",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-59148.yaml",
    "kind": "detection_template",
    "title": "Mockoon < 9.7.0 - Unauthenticated Admin API",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "8.8",
    "template_id": "CVE-2026-59148",
    "template_path": "http/cves/2026/CVE-2026-59148.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.