> CVE-2026-59148 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-09 19:17
MODIFIED
2026-07-09 19:17
CVSS_SCORE V3
8.8
EPSS (Prob. Exploit)
0.26%
Top 81.9%
DATA SOURCES:
NVD 🔗 2026-07-09 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-10-29 OSV 🔗 2026-11-02

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EXPLOITABILITY
2.8
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-306 CWE-352 CWE-732 CWE-942

> CWE DETAILED DESCRIPTIONS

CWE-306: Missing Authentication for Critical Functionality - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. | CWE-352: Cross-Site Request Forgery - The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. | CWE-732: Incorrect Permission Assignment for Critical Resource - The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. | CWE-942: Permissive Cross-domain Security Policy with Untrusted Domains - The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.

> GITHUB SECURITY ADVISORY

GHSA-rqx4-3f6q-3x2v HIGH

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

AFFECTED PACKAGES:
NPM / @mockoon/cli
< 9.7.0
Fixed in: 9.7.0
NPM / @mockoon/commons-server
< 9.7.0
Fixed in: 9.7.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
93 versions affected
ALIASES:
GHSA-rqx4-3f6q-3x2v

> HISTORIQUE DES MODIFICATIONS

Première apparition
09/07/2026 19:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-306: Missing Authentication for Critical Function - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of res...
Nouvelle valeur:
CWE-306: Missing Authentication for Critical Functionality - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount o...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-306: Missing Authentication for Critical Function - The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of res...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/mockoon/mockoon/commit/c420b5a56918475b8663977b51e5f986e45b32...
https://github.com/mockoon/mockoon/pull/2254
https://github.com/mockoon/mockoon/releases/tag/v9.7.0
https://github.com/mockoon/mockoon/security/advisories/GHSA-rqx4-3f6q-3x2v
https://mockoon.com/releases/9.7.0
« BACK_TO_HOME