Use of Hard-coded Credentials Affecting istio.io/istio/pilot/pkg/xds package, versions <1.27.8>=1.28.0-alpha.0 <1.28.5>=1.29.0-alpha.0 <1.29.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (30th 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 Learn

Learn about Use of Hard-coded Credentials vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-ISTIOIOISTIOPILOTPKGXDS-15517121
  • published13 Mar 2026
  • disclosed11 Mar 2026
  • creditOleh Konko

Introduced: 11 Mar 2026

CVE-2026-31837  (opens in a new tab)
CWE-798  (opens in a new tab)

How to fix?

Upgrade istio.io/istio/pilot/pkg/xds to version 1.27.8, 1.28.5, 1.29.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of Hard-coded Credentials in the JWKS resolver, which can be exposed if a fetch operation fails. An attacker can obtain private keys by forcing such a failure.

Note: The keys are exposed even if RequestAuthentication is in use.

References

CVSS Base Scores

version 4.0
version 3.1