# CVE-2026-5631: assafelovic gpt-researcher ws Endpoint server_utils.py extract_command_data code injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- 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.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-06T06:30:14.722Z
- Modified: 2026-07-24T09:10:00.153Z
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability has been found in assafelovic gpt-researcher up to 3.4.3. This affects the function extract_command_data of the file backend/server/server_utils.py of the component ws Endpoint. Such manipulation of the argument args leads to code injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

(As written by CVE List.)

## Affected

- assafelovic gpt-researcher: 3.4.0; 3.4.1; 3.4.2; 3.4.3

## Every score

- VulDB: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/assafelovic/gpt-researcher/issues/1694> (exploit, issue-tracking)
- <https://vuldb.com/vuln/355419> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/355419/cti> (permissions-required, signature)
- <https://vuldb.com/submit/785858> (third-party-advisory)
- <https://github.com/assafelovic/gpt-researcher/> (product)

## Sources

- CVE List: [CVE-2026-5631](https://www.cve.org/CVERecord?id=CVE-2026-5631), CVE Terms of Use, modified 2026-04-06
- NVD: [CVE-2026-5631](https://nvd.nist.gov/vuln/detail/CVE-2026-5631), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-5631 · Whole record: https://cve.day/CVE-2026-5631.json · Rebuilt by cve.day 2026-11-25T22:59:17.983Z
