Back to list

@Mockoon/commons-server: Unauthenticated admin API + wildcard CORS allows mock-state hijack and secret theft — GHSA-RQX4-3F6Q-3X2V

GitHub · GitHub · GHSA-RQX4-3F6Q-3X2V

ID
GHSA-RQX4-3F6Q-3X2V
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.8
EPSS
0.00262

Summary

## Summary Mockoon's admin API ([`commons-server/src/libs/server/admin-api.ts`](https://github.com/mockoon/mockoon/blob/4375a8f/packages/commons-server/src/libs/server/admin-api.ts)) is mounted on the same Express listener as the user-defined mock routes, **enabled by default** in every shipped runtime (commons-server, CLI, serverless), serves **`Access-Control-Allow-Origin: *` on every endpoint with all HTTP…

Timeline

Published by source
2026-09-11

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 8.8 out of 10.
  • Reported EPSS value: 0.00262.
  • Review exposure for the affected product or family: npm: @mockoon/commons-server | npm: @mockoon/cli.

Product

npm: @mockoon/commons-server | npm: @mockoon/cli

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-RQX4-3F6Q-3X2V
Source
GitHub
Vendor
GitHub
Published by source
2026-09-11
Last source activity
2026-09-11
Additional identifiers
CVE-2026-59148
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.