Command Injection in parisneo/lollms-webui
A command injection vulnerability exists in the 'run_xtts_api_server' function of the parisneo/lollms-webui application, specifically within the 'lollms_xtts.py' script. The vulnerability arises due to the improper neutralization of special elements used in an OS command. The affected function utilizes 'subprocess.Popen' to execute a command constructed with a Python f-string, without adequately sanitizing the 'xtts_base_url' input. This flaw allows attackers to execute arbitrary commands remotely by manipulating the 'xtts_base_url' parameter. The vulnerability affects versions up to and including the latest version before 9.5. Successful exploitation could lead to arbitrary remote code execution (RCE) on the system where the application is deployed.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-3126
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 05:37 UTC · Revision 1
Source evidence
Command Injection in parisneo/lollms-webui
core-osv · Original sourcePublished 16 May 2024, 09:03 UTC
A command injection vulnerability exists in the 'run_xtts_api_server' function of the parisneo/lollms-webui application, specifically within the 'lollms_xtts.py' script. The vulnerability arises due to the improper neutralization of special elements used in an OS command. The affected function utilizes 'subprocess.Popen' to execute a command constructed with a Python f-string, without adequately sanitizing the 'xtts_base_url' input. This flaw allows attackers to execute arbitrary commands remotely by manipulating the 'xtts_base_url' parameter. The vulnerability affects versions up to and including the latest version before 9.5. Successful exploitation could lead to arbitrary remote code execution (RCE) on the system where the application is deployed.
osv:CVE-2024-3126
Complete source record
{
"id": "95d45edd44035ac31995d8dd949a2d2cb570acd6f370fc841d8e5ac22c8a8f0f",
"url": "https://osv.dev/vulnerability/CVE-2024-3126",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Command Injection in parisneo/lollms-webui",
"summary": "A command injection vulnerability exists in the 'run_xtts_api_server' function of the parisneo/lollms-webui application, specifically within the 'lollms_xtts.py' script. The vulnerability arises due to the improper neutralization of special elements used in an OS command. The affected function utilizes 'subprocess.Popen' to execute a command constructed with a Python f-string, without adequately sanitizing the 'xtts_base_url' input. This flaw allows attackers to execute arbitrary commands remotely by manipulating the 'xtts_base_url' parameter. The vulnerability affects versions up to and including the latest version before 9.5. Successful exploitation could lead to arbitrary remote code execution (RCE) on the system where the application is deployed.",
"evidence": "osv:CVE-2024-3126",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-3126",
"aliases": [
"CVE-2024-3126"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/parisneo/lollms-webui",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "eaa0b2035034d2cefcc536eb7d17a765dae4a6b4"
},
{
"fixed": "41dbb1b3f2e78ea276e5269544e50514252c0c25"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "9.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "41dbb1b3f2e78ea276e5269544e50514252c0c25"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v9.4",
"v9.3",
"v9.2",
"v9.1",
"v9.0",
"v8.5",
"v7.0",
"v6.7",
"v6.5.0",
"v6.5rc2",
"v6.5",
"v6.0",
"v5.0",
"v4.0",
"v3.5",
"v3.0",
"v0.0.9",
"v0.0.8",
"v0.0.7",
"v0.0.6",
"v0.0.5",
"v0.0.3",
"v0.0.2",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3126.json"
}
}
],
"modified": "2026-10-28T02:30:43.192430149Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3126.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-3126",
"https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3126.json"
}
},
"related_cves": [
{
"value": "CVE-2024-3126",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510759,
"published_at": "2024-05-16T09:03:47.64+00:00"
}