CVE-2025-22868 Affecting k8sgpt package, versions <0.4.0-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Social Trends
EPSS
0.84% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-K8SGPT-15394033
  • published4 Mar 2026
  • disclosed26 Feb 2025

Introduced: 26 Feb 2025

CVE-2025-22868  (opens in a new tab)

How to fix?

Upgrade Wolfi k8sgpt to version 0.4.0-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream k8sgpt package and not the k8sgpt package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.

CVSS Base Scores

version 3.1