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…

CVE-2026-31246: n/a

0
Unknown
VulnerabilityCVE-2026-31246cvecve-2026-31246
Published: Mon May 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/11/2026, 16:07:06 UTC

Technical Analysis

GPT-Pilot versions up to commit 0819827ce20346ef5f25b3fe29293cb448840565 contain 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 validation. This input is passed directly to asyncio.create_subprocess_shell(), enabling an attacker to replace the intended command with arbitrary shell commands. This leads to remote code execution with the same privileges as the GPT-Pilot process.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary shell commands remotely with the privileges of the GPT-Pilot process. This can lead to full system compromise depending on the privileges of the process running GPT-Pilot. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid running untrusted input through the affected GPT-Pilot versions. Implement input validation or restrict usage to trusted users to reduce risk.

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: 5/11/2026, 3:36:42 PM

Last enriched: 5/11/2026, 4:07:06 PM

Last updated: 5/12/2026, 3:52:29 AM

Views: 4

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