{"id":"CVE-2024-5821","aliases":["CVE-2024-5821"],"related":[],"kind":"vulnerability","state":"published","title":"Local File Inclusion (LFI) in stitionai/devika","summary":"The vulnerability allows an attacker to access sensitive files on the server by confusing the agent with incorrect file names. When a user requests the content of a file with a misspelled name, the agent attempts to correct the command and inadvertently reveals the content of the intended file, such as /etc/passwd. This can lead to unauthorized access to sensitive information and potential server compromise.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The vulnerability allows an attacker to access sensitive files on the server by confusing the agent with incorrect file names. When a user requests the content of a file with a misspelled name, the agent attempts to correct the command and inadvertently reveals the content of the intended file, such as /etc/passwd. This can lead to unauthorized access to sensitive information and potential server compromise.","source":"cvelist"},{"lang":"es","text":"Control de acceso inadecuado en stitionai/devika","source":"nvd"}],"published":"2024-07-03T17:45:24.566Z","modified":"2026-06-17T08:16:43.007Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"stitionai","product":"stitionai/devika","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"*","status":"affected"}],"vendor":"stitionai","product":"devika","cpe":"cpe:2.3:a:stitionai:devika:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://huntr.com/bounties/6b729046-b9e1-4fa2-a0c5-603745a6db6b","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-07-03T19:05:21.450Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5821","url":"https://www.cve.org/CVERecord?id=CVE-2024-5821","licence":"CVE Terms of Use","modified":"2025-10-15T12:49:44.102Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5821","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5821","licence":"Public domain","modified":"2026-06-17T08:16:43.007Z"}],"updatedAt":"2026-11-25T22:58:42.494Z","epss":{"score":0.00228,"percentile":0.14517,"date":"2026-12-01T12:00:22.000Z"}}