MoLing: unauthenticated SSE and wildcard CORS expose tool sessions (gojue moling)

CVE-2026-62863
CRITICAL 9.6

At a glance

Source
NVD
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Received

Description

MoLing is a computer-use and browser-use based MCP server. Prior to 0.5.0, when MoLing runs in SSE mode using `-l`, its `/sse` and `/message` HTTP endpoints do not authenticate requests and the `mcp-go` dependency sets `Access-Control-Allow-Origin: *`. A malicious web page can open a cross-origin `EventSource` to `/sse`, including a loopback listener, and read the `endpoint` event to obtain `sessionId`. After a victim running SSE mode visits that page, the attacker can use the disclosed `sessionId` against `/message` to send unauthorized MCP tool calls. Depending on the configured tools, those calls can read or write local files, execute commands or perform other actions. Binding only to loopback does not prevent this browser-mediated attack. This issue is fixed in version 0.5.0.

Weaknesses (CWE)

  • CWE-942 — Permissive Cross-domain Security Policy with Untrusted Domains
  • CWE-306 — Missing Authentication for Critical Functionality

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:LGitHub_M
CVSS 3.1CRITICAL 9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:LNVD · security-advisories@github.com (Secondary)

European references

Affected products

ProductVersions
gojue · molingaffected < 0.5.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD