# CVE-2024-5821: Local File Inclusion (LFI) in stitionai/devika

- Severity: Medium 6.2 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-07-03T17:45:24.566Z
- Modified: 2026-06-17T08:16:43.007Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- stitionai stitionai/devika: from unspecified up to latest
- stitionai devika: up to *

## References

- <https://huntr.com/bounties/6b729046-b9e1-4fa2-a0c5-603745a6db6b>

## Sources

- CVE List: [CVE-2024-5821](https://www.cve.org/CVERecord?id=CVE-2024-5821), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-5821](https://nvd.nist.gov/vuln/detail/CVE-2024-5821), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5821 · Whole record: https://cve.day/CVE-2024-5821.json · Rebuilt by cve.day 2026-11-25T22:58:42.494Z
