{"id":"CVE-2026-59148","title":"Mockoon provides way to design and run mock APIs","summary":"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 runti…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-306","CWE-352","CWE-732","CWE-942"],"vendor":"mockoon","product":"mockoon","affected":["mockoon < 9.7.0"],"published":"2026-07-09","updated":"2026-07-10","sourceUpdated":"2026-07-10T19:15:15.780","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-59148","references":[{"url":"https://github.com/mockoon/mockoon/commit/c420b5a56918475b8663977b51e5f986e45b3299","label":"security-advisories@github.com"},{"url":"https://github.com/mockoon/mockoon/pull/2254","label":"security-advisories@github.com"},{"url":"https://github.com/mockoon/mockoon/releases/tag/v9.7.0","label":"security-advisories@github.com"},{"url":"https://github.com/mockoon/mockoon/security/advisories/GHSA-rqx4-3f6q-3x2v","label":"security-advisories@github.com"},{"url":"https://mockoon.com/releases/9.7.0","label":"security-advisories@github.com"},{"url":"https://github.com/mockoon/mockoon/security/advisories/GHSA-rqx4-3f6q-3x2v","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","cve.org","exploit-available"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-09T19:24:39.649769Z"},"ingestedAt":"2026-09-14T14:00:59.107Z","epss":0.00262,"epssPercentile":0.18381,"slug":"CVE-2026-59148","body":"## Overview\n\nMockoon 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":60,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[]}