high
k8sGPT has Prompt Injection through its k8sGPT-Operator
- Severity
- high CVSS:4.0 by GitHub
- Published
- Last changed
- Also known as
- GO-2026-5631
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
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/k8sgpt-ai/k8sgpt (Go) | before 0.4.32 | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
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.
Go Vulnerability Database
k8sGPT has Prompt Injection through its k8sGPT-Operator in github.com/k8sgpt-ai/k8sgpt
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-rp7v-4384-hfrp changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5631 changed 2026-06-25 | CC-BY-4.0 |