Skip to content
OpenAdvisories
High GHSA-rp7v-4384-hfrp GO-2026-5631

k8sGPT has Prompt Injection through its k8sGPT-Operator

Published Apr 24, 2026 · Updated Jun 25, 2026 · Assigned by GHSA

Description

### Summary
In the auto-remediation pipeline, `object_to_execution.go` was deserializing the AI-generated YAML directly into a Deployment object, but there was lack of validation from the original Deployment object.

### Details
This issue was fixed after coordination with Alex Jones.

### PoC
To minimize the impact, the PoC of this vulnerability wasn't released, but was shared with the maintainers.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/k8sgpt-ai/k8sgpt < 0.4.32 0.4.32 GHSA-rp7v-4384-hfrp

References