{"id":"CVE-2024-5821","aliases":["EUVD-2024-46969","GHSA-f8j4-pwp4-c58m"],"status":"published","title":"Local File Inclusion (LFI) in stitionai/devika","description":"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.","severity":{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00228,"percentile":0.13707,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22","CWE-284"],"published":"2024-07-03T17:45:24Z","modified":"2026-06-17T08:16:43Z","products":[{"vendor":"stitionai","product":"devika"},{"vendor":"stitionai","product":"stitionai/devika"}],"references":[{"url":"https://huntr.com/bounties/6b729046-b9e1-4fa2-a0c5-603745a6db6b","tags":["x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5821"},{"url":"https://github.com/advisories/GHSA-f8j4-pwp4-c58m"}],"sources":{"cve":[{"id":"CVE-2024-5821","title":"Local File Inclusion (LFI) in stitionai/devika","description":"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.","status":"published","published":"2024-07-03T17:45:24.566Z","modified":"2025-10-15T12:49:44.102Z","cvss":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:01.630882Z"}],"euvd":[{"id":"EUVD-2024-46969","description":"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.","status":"published","published":"2024-07-03T17:45:24Z","modified":"2025-10-15T12:49:44Z","cvss":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:31:32.071816Z"}],"ghsa":[{"id":"GHSA-f8j4-pwp4-c58m","title":"Improper Access Control in stitionai/devika","description":"Improper Access Control in stitionai/devika","status":"published","published":"2024-07-03T18:48:31Z","modified":"2025-10-15T15:31:25Z","cvss":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22","CWE-284"],"updated_at":"2026-11-02T15:03:59.559504Z"}],"nvd":[{"id":"CVE-2024-5821","description":"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.","status":"published","published":"2024-07-03T18:15:05.857Z","modified":"2026-06-17T08:16:43.007Z","cvss":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:10:10.545705Z"}]}}
