Advisory record · GHSA-m85w-whwh-qvfx

GPT-Pilot contains a command injection vulnerability in the Executor.run() method

CVSS 6.5 MediumEPSS 0.0070 · 53rd percentile

Published by the GitHub Advisory Database at 11 May 2026, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gpt-pilotPyPI<=0.0.10No fixed version yet
Identifiers
GHSA-m85w-whwh-qvfx · CVE-2026-31246 · PYSEC-2026-2501
Weakness (CWE)
CWE-78
Published
11 May 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GPT-Pilot versions up to and including 0.0.10 contain a command injection flaw in the Executor.run() method. When the tool asks the user to confirm or edit a command, it passes the free-text input directly to a shell without validation, so an attacker who can supply that input could run arbitrary shell commands with the privileges of the GPT-Pilot process. No fix is listed.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0070, the 53rd percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:01 UTC First seen by agentprime
  2. 31 Oct 2026, 15:01 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.