{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-5443","id":"CVE-2024-5443","title":"Remote Code Execution via Path Traversal in parisneo/lollms","description":"CVE-2024-4320 describes a vulnerability in the parisneo/lollms software, specifically within the `ExtensionBuilder().build_extension()` function. The vulnerability arises from the `/mount_extension` endpoint, where a path traversal issue allows attackers to navigate beyond the intended directory structure. This is facilitated by the `data.category` and `data.folder` parameters accepting empty stri","descriptionLong":"CVE-2024-4320 describes a vulnerability in the parisneo/lollms software, specifically within the `ExtensionBuilder().build_extension()` function. The vulnerability arises from the `/mount_extension` endpoint, where a path traversal issue allows attackers to navigate beyond the intended directory structure. This is facilitated by the `data.category` and `data.folder` parameters accepting empty strings (`\"\"`), which, due to inadequate input sanitization, can lead to the construction of a `package_path` that points to the root directory. Consequently, if an attacker can create a `config.yaml` file in a controllable path, this path can be appended to the `extensions` list and trigger the execution of `__init__.py` in the current directory, leading to remote code execution. The vulnerability affects versions up to 5.9.0, and has been addressed in version 9.8.","published":"2024-06-22T16:12:32.499Z","updated":"2026-06-17T08:15:57.760Z","reserved":"2024-05-28T18:53:00.148Z","status":"Deferred","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"@huntr_ai"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"huntr.dev"}],"rating":"critical","products":["parisneo/lollms"],"affectedProducts":[{"vendor":"parisneo","product":"parisneo/lollms","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"9.8","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-29"],"aliases":[],"references":[{"url":"https://huntr.com/bounties/db52848a-4dbe-4110-a981-03739834bf45","tags":["x_transferred"]},{"url":"https://github.com/parisneo/lollms/commit/2d0c4e76be93195836ecd0948027e791b8a2626f","tags":["x_transferred"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.01164,"epssPercentile":0.67935,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-5443","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5443","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-5443","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-5443","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}