Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.7%top 50%

CVE-2026-31246: n/a

0
Medium
VulnerabilityCVE-2026-31246cvecve-2026-31246
Published: 05/11/2026 (05/11/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

GPT-Pilot thru commit 0819827ce20346ef5f25b3fe29293cb448840565 (2025-09-03) contains a command injection vulnerability (CWE-78) in the Executor.run() method. During project execution, when the system prompts the user to confirm or modify a command to be run, it accepts free-text input without proper validation. The user-supplied input is directly passed to asyncio.create_subprocess_shell() for execution. This allows an attacker to replace the intended command with arbitrary shell commands, leading to remote code execution with the privileges of the GPT-Pilot process.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 10:30:17 UTC

Technical Analysis

GPT-Pilot through commit 0819827ce20346ef5f25b3fe29293cb448840565 (dated 2025-09-03) contains a command injection vulnerability (CWE-78) in the Executor.run() method. When the system prompts the user to confirm or modify a command, it accepts free-text input without proper validation and directly passes this input to asyncio.create_subprocess_shell() for execution. This flaw allows an attacker to replace the intended command with arbitrary shell commands, resulting in remote code execution with the privileges of the GPT-Pilot process. The vulnerability is publicly known as CVE-2026-31246 and has a CVSS 3.1 base score of 6.5 (medium severity). No patch or official remediation guidance is currently provided.

Potential Impact

An attacker can execute arbitrary shell commands remotely with the same privileges as the GPT-Pilot process. This could lead to unauthorized command execution and potential compromise of the system running GPT-Pilot. The impact is limited to the confidentiality and integrity of the affected system, with no direct availability impact noted.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid running untrusted commands through GPT-Pilot's Executor.run() method or restrict access to the system to trusted users only. Monitor for updates from the vendor or project maintainers regarding patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-09T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a01f78acbff5d86102f1705

Added to database: 05/11/2026, 15:36:42 UTC

Last enriched: 05/19/2026, 10:30:17 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 99

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses