LobeHub has a Cross-Site Scripting issue that escalates to Remote Code Execution
CVE-2026-42045 · GHSA-xq4x-622m-q8fq · published 2026-05-05 · updated 2026-05-13
- Severity
- Medium
- CVSS score
- 6.2
- Chance of exploitation (EPSS)
- 0.32%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Affected LobeChat clients can connect to the attacker's LLM endpoint and trigger arbitrary command execution simply by sending normal conversation messages.
No fixed release is listed yet for @lobehub/lobehub. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Command or code injection. Remove or disable the affected server or tool, or run it in a sandbox with no secrets in its environment.
A patch is available at https://github.com/lobehub/lobehub/releases/tag/v2.1.48.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @lobehub/lobehub | npm | <= 2.1.26 | No fix yet |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- Criticalmcp-server-git runs a repo's gpg.program via git_merge and git_branchmcp-server-git
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalLobeHub: Unauthenticated SSRF in `/webapi/proxy`@lobehub/lobehub
- MediumLobeHub: Unauthenticated authentication bypass on `webapi` routes via forgeable `X-lobe-chat-auth` header@lobehub/lobehub
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.