Skip to content
Heist/ feed
Back to feed
Medium

Unrestricted File Upload and Execution in parisneo/lollms-webui

Type: advisorySources: OSV

In version v12 of parisneo/lollms-webui, the 'Send file to AL' function allows uploading files with various extensions, including potentially dangerous ones like .py, .sh, .bat, and more. Attackers can exploit this by uploading files with malicious content and then using the '/open_file' API endpoint to execute these files. The vulnerability arises from the use of 'subprocess.Popen' to open files without proper validation, leading to potential remote code execution.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-9920
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:25 UTC · Revision 1

Source evidence

Unrestricted File Upload and Execution in parisneo/lollms-webui

core-osv · Original source

Published 20 Mar 2025, 10:10 UTC

In version v12 of parisneo/lollms-webui, the 'Send file to AL' function allows uploading files with various extensions, including potentially dangerous ones like .py, .sh, .bat, and more. Attackers can exploit this by uploading files with malicious content and then using the '/open_file' API endpoint to execute these files. The vulnerability arises from the use of 'subprocess.Popen' to open files without proper validation, leading to potential remote code execution.

osv:CVE-2024-9920
Complete source record
{
  "id": "ac70bda6eeead439b4e790ae3d637bb1d9b64e008a2c41088b7839b6308cebe2",
  "url": "https://osv.dev/vulnerability/CVE-2024-9920",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unrestricted File Upload and Execution in parisneo/lollms-webui",
    "summary": "In version v12 of parisneo/lollms-webui, the 'Send file to AL' function allows uploading files with various extensions, including potentially dangerous ones like .py, .sh, .bat, and more. Attackers can exploit this by uploading files with malicious content and then using the '/open_file' API endpoint to execute these files. The vulnerability arises from the use of 'subprocess.Popen' to open files without proper validation, leading to potential remote code execution.",
    "evidence": "osv:CVE-2024-9920",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-9920",
      "aliases": [
        "CVE-2024-9920"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/parisneo/lollms-webui",
              "type": "GIT",
              "events": [
                {
                  "introduced": "da47cb36445a0809e383e586e76353c6975e3498"
                },
                {
                  "last_affected": "da47cb36445a0809e383e586e76353c6975e3498"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:lollms:lollms_web_ui:12:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "12"
                      },
                      {
                        "last_affected": "12"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "12",
            "v12"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-9920.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.681500474Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/c70c6732-23b3-4ef8-aec6-0a47467d1ed5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9920.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-9920"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-434"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9920.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-9920",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494450,
  "published_at": "2025-03-20T10:10:08.169+00:00"
}