{"id":"CVE-2026-31246","published":"2026-05-11T00:00:00Z","modified":"2026-05-12T18:41:25Z","title":"GPT-Pilot thru commit 0819827ce20346ef5f25b3fe29293cb448840565 (2025-09-03) contains a command injection vulnerability…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00704,"percentile":0.54232,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/Pythagora-io/gpt-pilot","tags":[]},{"url":"https://www.notion.so/CVE-2026-31246-35d1e1393188812ea3c6c88ad28d3d57","tags":[]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":10.85},{"name":"CVSS severity","points":4.55}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-12T18:39:14.114929Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gpt-pilot","vulnerableRanges":["<=0.0.10"],"patched":[],"from":["GHSA-m85w-whwh-qvfx","PYSEC-2026-2501"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-29054","exploited":false,"provenance":"source"}}