# CVE-2024-5820: Unprotected WebSocket in stitionai/devika

- Severity: High 7.6 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- 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.79%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-27T18:40:57.321Z
- Modified: 2026-06-17T08:16:42.897Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

An unprotected WebSocket connection in the latest version of stitionai/devika (commit ecee79f) allows a malicious website to connect to the backend and issue commands on behalf of the user. The backend serves all listeners on the given socket, enabling any such malicious website to intercept all communication between the user and the backend. This vulnerability can lead to unauthorized command execution and potential server-side request forgery.

(As written by CVE List.)

## Affected

- stitionai stitionai/devika: from unspecified up to latest
- stitionai devika: ecee79f; 1.0

## Every score

- @huntr_ai: CVSS:3.0 7.6 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/2ba757bf-8ede-445b-b143-2de7769758a6> (exploit, third-party-advisory)

## Sources

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

---

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