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.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Puntuación base: 8.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.26%
- Percentil entre todas las CVEs puntuadas: 17
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1203Exploitation for Client Executionexecution75 % - Impacto principal
T1552.001Credentials In Filescredential access85 % - Impacto secundario
T1078.001Default Accountsstealth · persistence · privilege escalation · initial access70 % - Impacto secundario
T1565.001Stored Data Manipulationimpact80 %
CVE-2026-59148: Admin API sin autenticación accesible en puerto del mock server. UI:R + ejecución en contexto del cliente (interacción con mock server) → T1203. Impactos: lectura de MOCKOON_* envvars (T1552.001), reescritura de rutas y cabeceras (T1565.001), acceso no autenticado (T1078.001).
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-306, CWE-352, CWE-732, CWE-942
Referencias
- https://github.com/mockoon/mockoon/commit/c420b5a56918475b8663977b51e5f986e45b3299
- 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
- https://github.com/mockoon/mockoon/security/advisories/GHSA-rqx4-3f6q-3x2v
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-59148",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-59148",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-07-09T19:24:39.649769Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.8,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "mockoon",
"product": "mockoon",
"versions": [
{
"status": "affected",
"version": "< 9.7.0"
}
]
}
]
}
],
"published": "2026-07-09T19:17:07.067",
"references": [
{
"url": "https://github.com/mockoon/mockoon/commit/c420b5a56918475b8663977b51e5f986e45b3299",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/mockoon/mockoon/pull/2254",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/mockoon/mockoon/releases/tag/v9.7.0",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/mockoon/mockoon/security/advisories/GHSA-rqx4-3f6q-3x2v",
"source": "security-advisories@github.com"
},
{
"url": "https://mockoon.com/releases/9.7.0",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/mockoon/mockoon/security/advisories/GHSA-rqx4-3f6q-3x2v",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-306"
},
{
"lang": "en",
"value": "CWE-352"
},
{
"lang": "en",
"value": "CWE-732"
},
{
"lang": "en",
"value": "CWE-942"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-07-10T19:15:15.780",
"sourceIdentifier": "security-advisories@github.com"
}