GO-2026-5631
HIGHk8sGPT has Prompt Injection through its k8sGPT-Operator
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.
- Published
- 24 Apr 2026
- Last modified
- 25 Jun 2026
- Weakness
- CWE-20CWE-502CWE-915
- Also known as
- GHSA-rp7v-4384-hfrp
- Sources
- OSV GHSA-rp7v-4384-hfrpJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/k8sgpt-ai/k8sgpt | < 0.4.32 | 0.4.32 |
References
- https://github.com/k8sgpt-ai/k8sgpt/security/advisories/GHSA-rp7v-4384-hfrp · WEB, ADVISORY
- https://github.com/k8sgpt-ai/k8sgpt · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Apr 2026)