Skip to main content

Gpt Researcher CVE-2026-5631

| EUVDEUVD-2026-19186 MEDIUM
Code Injection (CWE-94)
2026-04-06 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

gpt-researcher 3.4.3
gpt-researcher 3.4.0
gpt-researcher 3.4.1
gpt-researcher 3.4.2

Affected Packages

euvd gpt_researcher no fix

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

Vendor (VulDB) PRIMARY 5.5 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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 07, 2026 - 13:20 vuln.today
Public exploit code
CVE Published
Apr 06, 2026 - 06:30 nvd
MEDIUM 6.9

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 86% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy