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
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. …
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.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @lobehub/lobehub | npm | <= 2.1.56 | 2.1.57 (not on npm) |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalCodeWhale: SSRF bypass - TOCTOU on DNS failure for DNS pinningcodewhale
- Criticalunstructured: Server-Side Request Forgery in the URL-based partitioningunstructured
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
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.