{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-59148","published":"2026-07-09T19:17:07.067000Z","last_modified":"2026-07-10T19:15:15.780000Z","status":"Deferred","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-306","CWE-352","CWE-732","CWE-942"],"cpes":[],"cpes_truncated":false,"vendors":["mockoon"],"products":["mockoon/mockoon"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rqx4-3f6q-3x2v","ecosystem":"npm","name":"@mockoon/cli","purl":"pkg:npm/%40mockoon/cli","ranges":[{"introduced":"0","fixed":"9.7.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-rqx4-3f6q-3x2v","ecosystem":"npm","name":"@mockoon/commons-server","purl":"pkg:npm/%40mockoon/commons-server","ranges":[{"introduced":"0","fixed":"9.7.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2026-59148/","html_en":"/en/cve/CVE-2026-59148/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59148","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59148"},"untrusted":{"vendor_name":"mockoon","product_name":"mockoon","desc_en":"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":[{"untrusted_vendor":"mockoon","untrusted_product":"mockoon","versions":[]}],"references":[{"url":"https://github.com/mockoon/mockoon/commit/c420b5a56918475b8663977b51e5f986e45b3299","tags":[]},{"url":"https://github.com/mockoon/mockoon/pull/2254","tags":[]},{"url":"https://github.com/mockoon/mockoon/releases/tag/v9.7.0","tags":[]},{"url":"https://github.com/mockoon/mockoon/security/advisories/GHSA-rqx4-3f6q-3x2v","tags":[]},{"url":"https://mockoon.com/releases/9.7.0","tags":[]}]}}