{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31246","published":"2026-05-11T16:17:29.623000Z","last_modified":"2026-06-17T10:33:31.327000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-78"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-m85w-whwh-qvfx","ecosystem":"PyPI","name":"gpt-pilot","purl":"pkg:pypi/gpt-pilot","ranges":[{"introduced":"0","last_affected":"0.0.10"}],"versions":["0.0.10"],"versions_truncated":false},{"advisory":"PYSEC-2026-2501","ecosystem":"PyPI","name":"gpt-pilot","purl":"pkg:pypi/gpt-pilot","ranges":[{"introduced":"0","last_affected":"0.0.10"}],"versions":["0.0.10"],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-31246/","html_en":"/en/cve/CVE-2026-31246/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31246","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31246"},"untrusted":{"desc_en":"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.","affected":[],"references":[{"url":"https://github.com/Pythagora-io/gpt-pilot","tags":[]},{"url":"https://www.notion.so/CVE-2026-31246-35d1e1393188812ea3c6c88ad28d3d57","tags":[]}]}}