RCE in N/a

CVE-2026-31246

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.011 (64.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 64.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-31246: held from 0.007 to 0.011.

EPSS over last 30 days · oldest: 0.007 · newest: 0.011 · change: +0.004

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-31246?
CVE-2026-31246 is a medium-severity vulnerability in N/a, classified under OS Command Injection. CVSS score: 6.5/10. Published 2026-05-11.
How severe is CVE-2026-31246?
Medium severity. CVSS v3 base score is 6.5 out of 10.