# CVE-2026-142235: LobeHub before 2.3.6 SSRF via ComfyUI imageUrl Parameter

Source: https://aplosec.si/cve/CVE-2026-142235/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142235

Medium 5.3 · Reported · Fixed in 2.3.6 · CWE-918 · Server

# LobeHub before 2.3.6 SSRF via ComfyUI imageUrl Parameter

CVE-2026-142235 · published 2026-12-02

In plain words: this type of bug lets someone trick the server into making requests to places it should not reach (server-side request forgery, SSRF). A fixed release is listed.

## Summary

CVE-2026-142235 affects LobeHub (Server) < 2.3.6: SSRF via ComfyUI imageUrl Parameter (CWE-918). Fixed in 2.3.6. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade LobeHub to 2.3.6 or later. Releases in the affected range (< 2.3.6) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-12-02 CVE published

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/lobehub-before-2.3.6-ssrf-via-comfyui-imageurl-parameter](https://www.vulncheck.com/advisories/lobehub-before-2.3.6-ssrf-via-comfyui-imageurl-parameter)

- [Vulnerable codehttps://github.com/lobehub/lobehub/blob/v2.3.5/apps/server/src/services/comfyui/core/imageService.ts#L97-L121](https://github.com/lobehub/lobehub/blob/v2.3.5/apps/server/src/services/comfyui/core/imageService.ts#L97-L121)

- [Vulnerable codehttps://github.com/lobehub/lobehub/blob/v2.3.5/apps/server/src/routers/lambda/comfyui.ts#L28-L63](https://github.com/lobehub/lobehub/blob/v2.3.5/apps/server/src/routers/lambda/comfyui.ts#L28-L63)

- [Fix commithttps://github.com/lobehub/lobehub/commit/2e4589b71bbf1cb7862e612a2aa3bf3b98e1a333](https://github.com/lobehub/lobehub/commit/2e4589b71bbf1cb7862e612a2aa3bf3b98e1a333)

- [Releasehttps://github.com/lobehub/lobehub/releases/tag/v2.3.6](https://github.com/lobehub/lobehub/releases/tag/v2.3.6)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142235](https://www.cve.org/CVERecord?id=CVE-2026-142235)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-142235](https://nvd.nist.gov/vuln/detail/CVE-2026-142235)

**Severity:** Medium 5.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142235)

**Package:** LobeHub

**Ecosystem:** Server

**Affected:** < 2.3.6

**Fixed:** 2.3.6

**Weakness:** CWE-918

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
