{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.3.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "2e4589b71bbf1cb7862e612a2aa3bf3b98e1a333"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.3.6",
                "range": [
                  {
                    "fixed": "061f4d9fa334d5555b06bd7d95a0ce6078e9153c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "061f4d9fa334d5555b06bd7d95a0ce6078e9153c"
            },
            {
              "fixed": "2e4589b71bbf1cb7862e612a2aa3bf3b98e1a333"
            }
          ],
          "repo": "https://github.com/lobehub/lobehub",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142235.json"
  },
  "details": "LobeHub before 2.3.6 contains a server-side request forgery vulnerability in the ComfyUI image service processImageFetch function that allows authenticated users with file:upload permission to send server requests by supplying a crafted imageUrl. Attackers can call the comfyui.createImage tRPC procedure to make GET requests to loopback, private network, and cloud metadata addresses, reading back responses that are valid images.",
  "id": "CVE-2026-142235",
  "modified": "2026-12-02T17:45:52.949781194Z",
  "published": "2026-12-02T16:50:08.439Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142235.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lobehub/lobehub"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/lobehub/lobehub/blob/v2.3.5/apps/server/src/routers/lambda/comfyui.ts#L28-L63"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/lobehub/lobehub/blob/v2.3.5/apps/server/src/services/comfyui/core/imageService.ts#L97-L121"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lobehub/lobehub/commit/2e4589b71bbf1cb7862e612a2aa3bf3b98e1a333"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lobehub/lobehub/releases/tag/v2.3.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142235"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/lobehub-before-2.3.6-ssrf-via-comfyui-imageurl-parameter"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LobeHub before 2.3.6 SSRF via ComfyUI imageUrl Parameter"
}