k8sGPT has Prompt Injection through its k8sGPT-Operator
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Code execution, Tampering
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-502 and CWE-915.
Summary
### 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/k8sgpt-ai/k8sgpt (Go) | before 0.4.32 | 0.4.32 | Patch available | GHSA-rp7v-4384-hfrp |
- github.com/k8sgpt-ai/k8sgpt (Go) Vendor— Affected before 0.4.32 Fixed in 0.4.32 Patch available GHSA-rp7v-4384-hfrp
Remediation
- Fix · GHSA-rp7v-4384-hfrp github.com/k8sgpt-ai/k8sgpt (Go) Fixed in 0.4.32 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-rp7v-4384-hfrp
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences