Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 7.3 score reflects high exploitability: network-accessible (AV:N), low complexity (AC:L), and requires no authentication (PR:N) or user interaction (UI:N), resulting in partial impact across confidentiality, integrity, and availability (C:L/I:L/A:L). The temporal score includes confirmed proof-of-concept code (E:P), making exploitation straightforward for moderately skilled attackers. While no EPSS score is provided in the data, the combination of unauthenticated remote access, public exploit availability, and code injection capability typically correlates with elevated exploitation probability. However, CISA KEV status is not confirmed, suggesting no widespread active exploitation detected yet. The vendor's non-response to early disclosure (per GitHub issue #1694) raises patch availability concerns. Using SSVC framework: exploitation is at POC stage (not active), the vulnerability appears automatable given the direct network exposure, and technical impact is significant (code execution). This represents a genuine priority for organizations running exposed gpt-researcher instances, particularly in multi-tenant or internet-facing deployments, though the narrow product footprint may limit broad enterprise impact compared to mainstream software vulnerabilities. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies an internet-facing gpt-researcher instance by scanning for exposed WebSocket endpoints on common ports. The attacker crafts a malicious WebSocket message containing injected code in the 'args' parameter, sending it to the vulnerable extract_command_data function. Because the function fails to sanitize input, the injected payload executes within the application context, allowing the attacker to read sensitive research data, modify application behavior, or establish persistence for lateral movement. Publicly available exploit code exists demonstrating this attack path, lowering the skill barrier for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 06, 2026
Remote code injection in gpt-researcher (assafelovic) versions up to 3.4.3 allows unauthenticated attackers to execute arbitrary code via the WebSocket endpoint's extract_command_data function. The vulnerability stems from improper input validation of the 'args' parameter in backend/server/server_utils.py. Publicly available exploit code exists (GitHub issue #1694), though confirmed active exploitation (CISA KEV) has not been reported. With CVSS 7.3 and network-accessible attack vector requiring no authentication, this represents a significant risk to exposed instances, though vendor response remains pending.
RemediationAI
No vendor-released patch identified at time of analysis, as the project maintainer has not responded to the vulnerability disclosure reported via GitHub issue #1694. Organizations should immediately implement network-level controls to restrict access to the WebSocket endpoint, limiting exposure to trusted IP ranges or internal networks only. Application-layer input validation should be added to the extract_command_data function to sanitize the 'args' parameter before processing. Consider disabling the vulnerable ws endpoint entirely if not required for operations. Monitor the official GitHub repository (https://github.com/assafelovic/gpt-researcher/) for future security updates. Implement runtime application self-protection (RASP) or web application firewall (WAF) rules to detect and block code injection attempts targeting this endpoint. Review application logs for suspicious WebSocket activity or anomalous command patterns. Given the lack of vendor response, organizations with high security requirements should evaluate alternative research automation solutions or maintain isolated deployment environments with strict access controls.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the gpt-researcher application, an autonomous AI agent framework for comprehensive online research. The flaw resides in the extract_command_data function within backend/server/server_utils.py, specifically handling WebSocket (ws) endpoint communications. The root cause is CWE-94 (Code Injection), where user-supplied data in the 'args' parameter is processed without adequate sanitization before being executed or evaluated. The affected CPE (cpe:2.3:a:assafelovic:gpt-researcher:*:*:*:*:*:*:*:*) indicates all versions through 3.4.3 are vulnerable. WebSocket endpoints are commonly used for real-time bidirectional communication in web applications, and when command processing functions fail to validate input, they become conduits for injecting executable code into the application runtime context.
Know when Gpt Researcher gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
gpt-researcher versions up to 3.4.3 contain a remote code execution vulnerability in the WebSocket endpoint that allows unauthenticated attackers to execute arbitrary code on affected systems. Organizations running exposed instances of this research tool face immediate risk of full system compromise, with publicly available exploit code increasing likelihood of opportunistic attacks.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to gpt-researcher WebSocket endpoints using firewall rules or network segmentation; (2) Disable or remove internet-facing deployments until patched; (3) Implement Web Application Firewall (WAF) rules to block suspicious WebSocket payloads targeting the extract_command_data function; (4) Enable comprehensive logging and monitoring of WebSocket traffic and backend process execution for anomaly detection.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-19186
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB