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

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

mockoon / mockoon

A public PoC appeared 132 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: nuclei. Not in CISA KEV.

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 and NVD, republishing [email protected]
broken access control
CWE-732, stated by the CNA GitHub_M and NVD, republishing [email protected]
CSRF
CWE-352, stated by the CNA GitHub_M and 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
stage
POC
disclosed
disclosure → PoC
T+132d
cvss
8.8 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
07-09T18:27Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
11-18T09:03Z
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.8, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "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"
  }
}
no source time; observed live by nday
+POCpublic PoC

Nuclei has detection template CVE-2026-59148 (Mockoon < 9.7.0 - Unauthenticated Admin API). The source gives no release time for the template.

src nuclei · nday , observed live · raw
{
  "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.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.