UTC
Critical

LobeHub: Unauthenticated SSRF in `/webapi/proxy`

CVE-2026-54157 · GHSA-xmwj-c75x-6346 · published 2026-06-16 · updated 2026-07-20

Severity
Critical
CVSS score
9.0
Chance of exploitation (EPSS)
1.8%
Fixed in
Not on npm

A public scanner tests for this

The open-source nuclei scanner has a template for CVE-2026-54157, so checking a system for it takes one command and anyone can run it across the internet. Check your own systems with nuclei -id CVE-2026-54157 -u https://your-host, and treat an instance that is reachable from the internet as urgent. Only scan systems you are allowed to test.

Template names from projectdiscovery/nuclei-templates (MIT), as of 2026-12-06. ShieldMap names a template and does not link to it.

  • Exploitation Public proof of concept
  • Automatable No
  • Technical impact Total
  • CISA SSVC
What it is

The proxy is fully unauthenticated and returns the complete response from any external URL. I confirmed the following on app.lobehub.com: An attacker can inject authentication cookies (__session, __clerk_db_jwt, __client_uat) on the lobehub.com domain by chaining CSRF with the proxy's reflected Set-Cookie headers. If LobeHub uses Clerk for session management, this is a session fixation vector — the attacker sets a known session value before the victim logs in, then uses that same value to access the victim's session. The proxy also leaks Vercel infrastructure details. The Traceparent and X-Vercel-Id headers from internal request tracing appear in every proxied response. …

What to do

npm does not serve the fixed version this advisory names for @lobehub/lobehub (2.1.57). The newest release on npm when checked on 2026-12-06 was 2.1.26; the advisory lists it as affected. Until npm serves a fixed release, limit what @lobehub/lobehub can reach or stop using it, and follow the source advisory for updates.

If the proxy is only needed for client-side URL previews, consider removing the endpoint entirely and handling previews in the browser.

Affected
PackageRegistryAffectedFixed in
@lobehub/lobehubnpm<= 2.1.562.1.57 (not on npm)

The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by the MCP reference servers project (https://github.com/modelcontextprotocol/servers/security/advisories); advisories published by the MCP Inspector project (https://github.com/modelcontextprotocol/inspector/security/advisories); advisories published by the MCP TypeScript SDK project (https://github.com/modelcontextprotocol/typescript-sdk/security/advisories); advisories published by the MCP Go SDK project (https://github.com/modelcontextprotocol/go-sdk/security/advisories); advisories published by the MCP Java SDK project (https://github.com/modelcontextprotocol/java-sdk/security/advisories); advisories published by the MCP Kotlin SDK project (https://github.com/modelcontextprotocol/kotlin-sdk/security/advisories); advisories published by the MCP Rust SDK project (https://github.com/modelcontextprotocol/rust-sdk/security/advisories); advisories published by the MCP Ruby SDK project (https://github.com/modelcontextprotocol/ruby-sdk/security/advisories); advisories published by the MCP C# SDK project (https://github.com/modelcontextprotocol/csharp-sdk/security/advisories); advisories published by the MCP PHP SDK project (https://github.com/modelcontextprotocol/php-sdk/security/advisories); advisories published by the MCP Registry project (https://github.com/modelcontextprotocol/registry/security/advisories); advisories published by Open Terminal (https://github.com/open-webui/open-terminal/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-12-06. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].