Skip to content
skopnix

NVD published 9 Jul 2026

CVE-2026-59148

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.

Signals

KEV, exploited in the wild
no
EPSS, 30-day forecast
0.3%, 18th percentile (as of 18 Nov 2026)
CVSS, NVD, HIGH
8.8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Internet exposure
not stated

Not in CISA's catalogue as of the last daily pull. Absence is not proof of safety.

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 1 dispatch

  1. GHSA-rqx4-3f6q-3x2v: @Mockoon/commons-server: Unauthenticated admin API + wildcard CORS allows mock-state hijack and secret theft

Public exploit code none in our sources

No public exploit in the sources we track: GitHub proof-of-concept lists, Metasploit and Exploit-DB. Absence is not proof that none exists.

Nuclei detection templates1

  1. Mockoon CLI and commons-server before 9.7.0 enable the admin API by default on the same listener as the mock routes. The /mockoon-admin endpoints do not require any token and answer every origin with Access-Control-Allow-Origin set to a wildcard.

    yaml · first seen by skopnix 18 Nov 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check