Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/k8sgpt-ai/k8sgpt
  4. ›
  5. GHSA-rp7v-4384-hfrp

GHSA-rp7v-4384-hfrp: k8sGPT has Prompt Injection through its k8sGPT-Operator

April 24, 2026

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.

References

  • github.com/advisories/GHSA-rp7v-4384-hfrp
  • github.com/k8sgpt-ai/k8sgpt/security/advisories/GHSA-rp7v-4384-hfrp

Code Behaviors & Features

Detect and mitigate GHSA-rp7v-4384-hfrp with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.4.32

Fixed versions

  • 0.4.32

Solution

Upgrade to version 0.4.32 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-502: Deserialization of Untrusted Data
  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

go/github.com/k8sgpt-ai/k8sgpt/GHSA-rp7v-4384-hfrp.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:07 +0000.