{"id":"GHSA-rp7v-4384-hfrp","summary":"k8sGPT has Prompt Injection through its k8sGPT-Operator","details":"### Summary\nIn 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.\n\n### Details\nThis issue was fixed after coordination with Alex Jones.\n\n### PoC\nTo minimize the impact, the PoC of this vulnerability wasn't released, but was shared with the maintainers.","aliases":["GO-2026-5631"],"modified":"2026-06-25T23:11:47.271795463Z","published":"2026-04-24T16:37:12Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-04-24T16:37:12Z","nvd_published_at":null,"cwe_ids":["CWE-20","CWE-502","CWE-915"]},"references":[{"type":"WEB","url":"https://github.com/k8sgpt-ai/k8sgpt/security/advisories/GHSA-rp7v-4384-hfrp"},{"type":"PACKAGE","url":"https://github.com/k8sgpt-ai/k8sgpt"}],"affected":[{"package":{"name":"github.com/k8sgpt-ai/k8sgpt","ecosystem":"Go","purl":"pkg:golang/github.com/k8sgpt-ai/k8sgpt"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.32"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-rp7v-4384-hfrp/GHSA-rp7v-4384-hfrp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}