{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.5.61"
                  },
                  {
                    "fixed": "0.9.41"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "3b6be5cd1a0f659b0bda14902140096a8420c9c9"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.9.41",
                "range": [
                  {
                    "fixed": "093ea9ddb2f3e47facbc2dc42d4e523ba050dedb"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "af82820a28ec07d44830bdc290ae599dfab8d72d"
            },
            {
              "fixed": "093ea9ddb2f3e47facbc2dc42d4e523ba050dedb"
            },
            {
              "fixed": "3b6be5cd1a0f659b0bda14902140096a8420c9c9"
            }
          ],
          "repo": "https://github.com/simstudioai/sim",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135162.json"
  },
  "details": "Sim 0.5.61 before 0.9.41 contains an incorrect authorization vulnerability that allows write-level workspace members to change workflow MCP server visibility without admin permission. Attackers can set isPublic via POST or PATCH to /api/mcp/workflow-servers, exposing deployed workflows to unauthenticated invocation through /api/mcp/serve.",
  "id": "CVE-2026-135162",
  "modified": "2026-11-23T15:45:45.530674382Z",
  "published": "2026-11-23T14:39:00.603Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135162.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/simstudioai/sim"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/simstudioai/sim/blob/v0.9.40/apps/sim/app/api/mcp/workflow-servers/route.ts"
    },
    {
      "type": "FIX",
      "url": "https://github.com/simstudioai/sim/commit/3b6be5cd1a0f659b0bda14902140096a8420c9c9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/simstudioai/sim/pull/9576"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/simstudioai/sim/releases/tag/v0.9.41"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135162"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/sim-0.5.61-before-0.9.41-incorrect-authorization-via-workflow-mcp-server-visibility"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Sim 0.5.61 before 0.9.41 Incorrect Authorization via Workflow MCP Server Visibility"
}