CVE Explorer
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, leadi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://github.com/Pythagora-io/gpt-pilot"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/cna/references/0
{"url":"https://www.notion.so/CVE-2026-31246-35d1e1393188812ea3c6c88ad28d3d57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e3a310947e24c2cdff128f13da9961dd077ea2cf77f1d0c7d4fab1cab5ce713f · sha256:7c9cdf20efa3d863… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.