{"id":"CVE-2024-3104","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-3104","generatedAt":"2026-10-28T04:13:35.209Z","title":"A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment variables.","description":"A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment variables. Attackers can exploit this vulnerability by injecting arbitrary environment variables via the `POST /api/system/update-env` endpoint, which allows for the execution of arbitrary code on the host running anything-llm. The vulnerability is present in the latest version of anything-llm, with the latest commit identified as fde905aac1812b84066ff72e5f2f90b56d4c3a59. This issue has been fixed in version 1.0.0. Successful exploitation could lead to code execution on the host, enabling attackers to read and modify data accessible to the user running the service, potentially leading to a denial of service. ","published":"2024-06-06T18:15:17.000Z","lastModified":"2026-06-17T07:43:19.000Z","status":"Modified","sourceIdentifier":"security@huntr.dev","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":["mintplexlabs/anythingllm"],"epss":{"score":0.00978,"percentile":0.61997,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.98%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/mintplex-labs/anything-llm/commit/bfedfebfab032e6f4d5a369c8a2f947c5d0c5286","tags":["Patch"],"source":"security@huntr.dev"},{"url":"https://huntr.com/bounties/4f2fcb45-5828-4bec-985a-9d3a0ee00462","tags":["Exploit","Third Party Advisory"],"source":"security@huntr.dev"},{"url":"https://github.com/mintplex-labs/anything-llm/commit/bfedfebfab032e6f4d5a369c8a2f947c5d0c5286","tags":["Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://huntr.com/bounties/4f2fcb45-5828-4bec-985a-9d3a0ee00462","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-3104","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}