CVE-2024-4839: lollms-webui: CSRF allows unauthorized AI service install
LOWPoC AVAILABLECISA: TRACK*If your team uses lollms-webui for local LLM experimentation or internal AI tooling, this CSRF flaw lets attackers trick authenticated admins into silently installing AI services (XTTS, vLLM, Petals) via a crafted web page. The practical risk is unauthorized AI inference components being added to your environment without consent. Patch to the latest version and restrict the configuration interface to localhost or trusted networks only.
What is the risk?
CVSS 3.3 (Low) accurately reflects the limited blast radius: local attack vector, requires user interaction, no confidentiality impact. However, contextual risk is moderately elevated in AI development environments where lollms-webui runs with broad permissions and administrators may browse untrusted sites from the same machine. The ability to silently install AI services introduces unvetted compute-intensive components and potential supply chain exposure, which matters more in regulated or production-adjacent environments than the raw score suggests.
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| LoLLMs | pip | — | No patch |
Do you use LoLLMs? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 stepsPatch: Update lollms-webui to the latest available version where CSRF tokens have been applied to configuration endpoints.
Network segmentation: Bind the lollms-webui interface to 127.0.0.1 only; never expose admin endpoints to untrusted networks.
Browser hygiene: Warn users not to browse untrusted sites while lollms-webui is running in the same browser session.
Audit: Review currently installed services in existing deployments (check /etc/lollms or equivalent service directories) for unexpected additions.
Detection: Monitor for unexpected process launches (xtts-server, vllm, petals) and unusual outbound network connections from the host running lollms-webui.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2024-4839?
If your team uses lollms-webui for local LLM experimentation or internal AI tooling, this CSRF flaw lets attackers trick authenticated admins into silently installing AI services (XTTS, vLLM, Petals) via a crafted web page. The practical risk is unauthorized AI inference components being added to your environment without consent. Patch to the latest version and restrict the configuration interface to localhost or trusted networks only.
Is CVE-2024-4839 actively exploited?
Proof-of-concept exploit code is publicly available for CVE-2024-4839, increasing the risk of exploitation.
How to fix CVE-2024-4839?
1. Patch: Update lollms-webui to the latest available version where CSRF tokens have been applied to configuration endpoints. 2. Network segmentation: Bind the lollms-webui interface to 127.0.0.1 only; never expose admin endpoints to untrusted networks. 3. Browser hygiene: Warn users not to browse untrusted sites while lollms-webui is running in the same browser session. 4. Audit: Review currently installed services in existing deployments (check /etc/lollms or equivalent service directories) for unexpected additions. 5. Detection: Monitor for unexpected process launches (xtts-server, vllm, petals) and unusual outbound network connections from the host running lollms-webui.
What systems are affected by CVE-2024-4839?
This vulnerability affects the following AI/ML architecture patterns: local AI development environments, LLM inference servers, AI model serving.
What is the CVSS score for CVE-2024-4839?
CVE-2024-4839 has a CVSS v3.1 base score of 3.3 (LOW). The EPSS exploitation probability is 0.16%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0010.001AI SoftwareAML.T0011User ExecutionAML.T0011.001Malicious PackageAML.T0049Exploit Public-Facing ApplicationCompliance Controls Affected
What are the technical details?
Original Advisory
A Cross-Site Request Forgery (CSRF) vulnerability exists in the 'Servers Configurations' function of the parisneo/lollms-webui, versions 9.6 to the latest. The affected functions include Elastic search Service (under construction), XTTS service, Petals service, vLLM service, and Motion Ctrl service, which lack CSRF protection. This vulnerability allows attackers to deceive users into unwittingly installing the XTTS service among other packages by submitting a malicious installation request. Successful exploitation results in attackers tricking users into performing actions without their consent.
Exploitation Scenario
An attacker targeting a data science team creates a malicious website containing a hidden HTML form that auto-submits a POST request to http://localhost:9600/install_service with payload {"service": "xtts"}. When a developer who has lollms-webui open in the same browser visits a phishing link (e.g., disguised as a research paper or a meme link on Slack), their browser sends the request with active session cookies. lollms-webui, lacking CSRF validation, processes the request and begins downloading and installing the XTTS service in the background. The developer sees no prompt; the attacker has now introduced an AI speech-synthesis service running locally with whatever network access lollms-webui has.
Weaknesses (CWE)
CWE-352 — Cross-Site Request Forgery: The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.
- [Architecture and Design] Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482]. For example, use anti-CSRF packages such as the OWASP CSRFGuard. [REF-330] Another example is the ESAPI Session Management control, which includes a component for CSRF. [REF-45]
- [Implementation] Ensure that the application is free of cross-site scripting issues (CWE-79), because most CSRF defenses can be bypassed using attacker-controlled script.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NReferences
Timeline
Related Vulnerabilities
CVE-2026-11149.8lollms: weak JWT secret allows admin takeover
Same package: lollmsCVE-2026-11159.6lollms: Stored XSS enables wormable account takeover
Same package: lollmsCVE-2024-69828.4lollms: RCE via eval() sandbox bypass in Calculate
Same package: lollmsCVE-2026-11178.2lollms: Access Control bypass enables privilege escalation
Same package: lollmsCVE-2025-63867.5lollms: timing attack enables credential enumeration
Same package: lollms