Uncontrolled Recursion Affecting kserve package, versions <0.21.0-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.29% (20th 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-CHAINGUARDLATEST-KSERVE-20367653
  • published2 Oct 2026
  • disclosed28 Sept 2026

Introduced: 28 Sep 2026

NewCVE-2026-102265  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Chainguard kserve to version 0.21.0-r1 or higher.

NVD Description

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

PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches ValueError but not RecursionError. This occurs when a deeply nested token header reaches json.loads. As a result, RecursionError escapes the documented PyJWT error hierarchy. Consequently, an unauthenticated malformed token can cause a request-level failure and HTTP 500. This issue is fixed in version 2.14.0.

CVSS Base Scores

version 3.1