{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-5211 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-5211 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5211 is a critical path traversal vulnerability in Mintplexlabs Anythingllm, published on 12 Jun 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-5211 and fix it if it is affected.\n\nWhat it is: CVE-2024-5211 is a critical path traversal vulnerability in Mintplexlabs Anythingllm, published on 12 Jun 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-5211 in the wild and no public exploit code.\n\nAffected product: Mintplexlabs Anythingllm. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-5211/ (Markdown: https://insights.sbomify.com/CVE-2024-5211/index.md)","id":"CVE-2024-5211","markdown":"https://insights.sbomify.com/CVE-2024-5211/index.md","name":"CVE-2024-5211","record":{"aliases":["GHSA-v9ph-8hf4-hgrx"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","data_modify","denial_of_service","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"AnythingLLM application","requires_auth":"high_privilege","summary":"A manager can exploit path traversal in logo upload to read, delete, or overwrite files, causing DoS and admin account takeover.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"anythingllm","vendor":"mintplexlabs"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-29","name":"Path Traversal: '\\..\\filename'"}],"description":"A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()` function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Path traversal in mintplex-labs/anything-llm","id":"CVE-2024-5211","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mintplexlabs:anythingllm","products":["mintplexlabs:anythingllm"],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"tagDiv Composer \u003c= 5.0 - Reflected Cross-Site Scripting via envato_code[]","id":"CVE-2024-5212"},"packages":[],"prev":{"headline":"Denial of service in Printers","id":"CVE-2024-5210"},"products":["mintplex-labs/anything-llm"],"published":"2024-06-12","related":[{"cvss_score":9.9,"headline":"Path Traversal in mintplex-labs/anything-llm","id":"CVE-2024-3025","kev_date_added":null,"published":"2024-04-10"},{"cvss_score":9.9,"headline":"SSRF on AWS deployed instances of AnythingLLM via /metadata","id":"CVE-2024-0455","kev_date_added":null,"published":"2024-02-25"},{"cvss_score":9.7,"headline":"AnythingLLM has a Streaming Phase XSS to RCE via LLM Response Injection","id":"CVE-2026-32626","kev_date_added":null,"published":"2026-03-13"},{"cvss_score":9.6,"headline":"Remote Code Execution in mintplex-labs/anything-llm","id":"CVE-2024-3104","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":9.6,"headline":"SSRF in mintplex-labs/anything-llm","id":"CVE-2024-3149","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":9.6,"headline":"Default user role exporting save state of instance","id":"CVE-2024-0765","kev_date_added":null,"published":"2024-03-03"},{"cvss_score":9.6,"headline":"Privileged User using traversal to read system files","id":"CVE-2024-0550","kev_date_added":null,"published":"2024-02-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["mintplex-labs"]},"summary":"A manager can exploit path traversal in logo upload to read, delete, or overwrite files, causing DoS and admin account takeover.","url":"https://insights.sbomify.com/CVE-2024-5211/"}