GHSA-rp7v-4384-hfrp
JSON

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 packageVersionsReported by
github.com/k8sgpt-ai/k8sgpt (Go)before 0.4.32GitHub 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

SourceRecordLicence
GitHub Advisory DatabaseGHSA-rp7v-4384-hfrp changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5631 changed 2026-06-25CC-BY-4.0