← All advisories

CVE-2026-135162mediumBroken access control2026-11-23

CVE-2026-135162: Sim let workspace members with only write access switch a workflow MCP server to public, exposing deployed AI workflows to unauthenticated calls through /api/mcp/serve (fixed 0.9.41)

Sim is an open-source workspace for building and deploying AI agents and workflows, which can be published as MCP servers. From 0.5.61 before 0.9.41, the internal POST /api/mcp/workflow-servers and PATCH /api/mcp/workflow-servers/[id] routes accepted isPublic from members with workspace write permission, while the v2 operations for the same change required admin. A public server answers /api/mcp/serve/{serverId} with no credential, so a write member could turn a private server into an unauthenticated execution endpoint for the workspace's deployed workflows. Fixed in 0.9.41.

01.

What it is

Affected: simstudioai/sim 0.5.61 up to (not including) 0.9.41 (CWE-863).

The fix (PR #9576, merged 2 November 2026) requires workspace admin to change visibility: creating a public server without admin returns 403, and updates never write isPublic without that authority. The settings and create modals now disable the Private/Public toggle for non-admins.

Sim v0.9.41 was released on 3 November 2026; NVD published the CVE (CNA VulnCheck) on 23 November 2026.

02.

How to check

  1. Check your self-hosted Sim version: 0.5.61 to 0.9.40 is affected.
  2. List workflow MCP servers marked public and confirm an admin meant each one to be public.
  3. Review access logs for /api/mcp/serve/ calls without credentials.
03.

How to fix

  1. Upgrade Sim to 0.9.41 or later.
  2. Set any workflow MCP server that shouldn't be public back to private, and review what its workflows can do (tools, credentials, outbound calls).
  3. Give write access only to people who should be able to deploy workflows.
# self-hosted Docker: pull the fixed release, then restart
docker compose pull && docker compose up -d
# confirm the running version is v0.9.41 or later
04.

Sources

The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.