PoC Monitor
← All CVEs
CVE-2026-59148published 9 Jul 2026 18:27 UTCData: JSON · API

Mockoon

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

First public PoC 130 daysafter publication · 16 Nov 2026 · nuclei template
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CNA · CWE-306
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

mockoon mockoon
  • < 9.7.0

Fixed in 9.7.0

Timeline

Days relative to CVE publication
t=0+30+60+90+120CVE published9 Jul 2026 · t = 0First public PoC16 Nov 2026 · t+130d

First public PoC 130 days after publication; not in CISA KEV. First PoC: nuclei template: Mockoon < 9.7.0 - Unauthenticated Admin API (nuclei template, 16 Nov 2026).

PoC repositories

Found on GitHub.

No PoC repositories found yet.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Mockoon < 9.7.0 - Unauthenticated Admin API16 Nov 202618 Nov 2026