{"answers":{"affected":"3 open source packages ship an affected version, including lollms. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6971 exists.","fix":"No fix has been published for CVE-2024-6971 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6971 is a low-severity path traversal vulnerability in parisneo/lollms, published on 11 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6971 and fix it if it is affected.\n\nWhat it is: CVE-2024-6971 is a low-severity path traversal vulnerability in parisneo/lollms, published on 11 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6971 exists.\n\nAffected packages and fixed versions:\n- lollms (PyPI): affected all versions up to 9.5.1; no fix listed\n- lollms (PyPI): affected all versions up to 9.5.1; no fix listed\n- lollms (PyPI): affected all versions up to 9.5.1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-6971/ (Markdown: https://insights.sbomify.com/CVE-2024-6971/index.md)","id":"CVE-2024-6971","markdown":"https://insights.sbomify.com/CVE-2024-6971/index.md","name":"CVE-2024-6971","record":{"aliases":["GHSA-7pgr-32fx-c6x9","PYSEC-2026-1585"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Lollms Web UI","requires_auth":"high_privilege","summary":"Attackers can exploit path traversal to vectorize SQLite files in arbitrary directories, potentially causing crashes or unauthorized data access.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"lollms-webui","vendor":"lollms"}],"cvss":{"score":3.4,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A path traversal vulnerability exists in the parisneo/lollms-webui repository, specifically in the `lollms_file_system.py` file. The functions `add_rag_database`, `toggle_mount_rag_database`, and `vectorize_folder` do not implement security measures such as `sanitize_path_from_endpoint` or `sanitize_path`. This allows an attacker to perform vectorize operations on `.sqlite` files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Path Traversal in parisneo/lollms-webui","id":"CVE-2024-6971","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Information disclosure in Octopus Server","id":"CVE-2024-6972"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["9.5.1"],"package":"lollms","purl":null,"source":"GHSA-7pgr-32fx-c6x9"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["9.5.1"],"package":"lollms","purl":"pkg:pypi/lollms","source":"GHSA-7pgr-32fx-c6x9"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["9.5.1"],"package":"lollms","purl":"pkg:pypi/lollms","source":"PYSEC-2026-1585"}],"prev":{"headline":"itsourcecode Tailoring Management System staffcatadd.php sql injection","id":"CVE-2024-6970"},"products":["parisneo/lollms"],"published":"2024-10-11","related":[{"cvss_score":8.4,"headline":"Remote Code Execution in parisneo/lollms-webui","id":"CVE-2024-4267","kev_date_added":null,"published":"2024-05-22"},{"cvss_score":8.2,"headline":"Authentication Bypass in parisneo/lollms-webui","id":"CVE-2024-1646","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":7.5,"headline":"SQL Injection in parisneo/lollms-webui","id":"CVE-2024-1601","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":7.3,"headline":"XSS and Open Redirect via SVG File Upload in parisneo/lollms-webui","id":"CVE-2024-5125","kev_date_added":null,"published":"2024-11-14"},{"cvss_score":5.3,"headline":"Uncontrolled Resource Consumption in parisneo/lollms-webui","id":"CVE-2024-1569","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":4.4,"headline":"CSRF in Servers Configurations in parisneo/lollms-webui","id":"CVE-2024-4839","kev_date_added":null,"published":"2024-06-24"},{"cvss_score":4.4,"headline":"CSRF in restart_program in parisneo/lollms-webui","id":"CVE-2024-4403","kev_date_added":null,"published":"2024-06-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-11","vendors":["parisneo"]},"summary":"Attackers can exploit path traversal to vectorize SQLite files in arbitrary directories, potentially causing crashes or unauthorized data access.","url":"https://insights.sbomify.com/CVE-2024-6971/"}