CriticalVulnerability
CVE-2024-5443: parisneo/lollms path traversal in /mount_extension leads to code execution
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-5443
- Published
- Record updated
- Affected
- lollms >= 5.9.0, < 9.5.1
- Fixed in
- 9.5.1
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2024-4320 affects parisneo/lollms through version 5.9.0. In `ExtensionBuilder().build_extension()`, the `/mount_extension` endpoint allows path traversal because empty `data.category` and `data.folder` values can produce a `package_path` pointing to the root directory. An attacker who can create a `config.yaml` file in a controllable path can get its path added to the `extensions` list, which executes `__init__.py` and leads to remote code execution.
Mitigation
Fixed in version 9.8.
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database