Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-59148

published high CVSS 3.1 · 8.8

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

Published
09 Jul 2026, 18:27:18 UTC
Updated
09 Jul 2026, 19:24:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
mockoon — mockoon< 9.7.0 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
mockoon mockoon < 9.7.0 (affected) GitHub_M · cna

Weaknesses

4
  • CWE-306 CWE-306: Missing Authentication for Critical Function (GitHub_M · cna)
  • CWE-352 CWE-352: Cross-Site Request Forgery (CSRF) (GitHub_M · cna)
  • CWE-732 CWE-732: Incorrect Permission Assignment for Critical Resource (GitHub_M · cna)
  • CWE-942 CWE-942: Permissive Cross-domain Policy with Untrusted Domains (GitHub_M · cna)

References

5

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
4986840e93b1f58301ae96e510efd3ae7297f4d0b968cdffd4a0e14afb627a36
Ingested
23 Sep 2026, 09:22:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected