ZeroHour

CVE-2026-91923

moderate

Authenticated SSRF in KubeSphere Git Credential Check Leaks Cluster Secrets

CVSS 4.0
8.3 high
EPSS
Published
()
Modified
AI analysis

KubeSphere through 4.1.3 contains a server-side request forgery (SSRF) flaw in the git credential verification endpoint, which accepts caller-supplied URLs without any allowlist or validation. An authenticated attacker supplies an arbitrary URL to the endpoint, causing the KubeSphere server to make requests to reachable internal services. Because of how the endpoint handles error responses, the attacker can use this to exfiltrate basic-auth credentials stored in Kubernetes Secrets in any namespace, crossing tenant boundaries on multi-tenant clusters. All KubeSphere deployments up to and including version 4.1.3 are affected, though exploitation requires a valid account (CVSS 4.0: 8.3, high). No public proof-of-concept is known and the flaw is not on the CISA KEV catalog, so exploitation is not currently observed.

What to do: Upgrade KubeSphere to a release newer than 4.1.3 as soon as a fix ships, since the data does not identify a patched version. In the meantime, restrict network egress from the KubeSphere console/API server pods to internal services via Kubernetes NetworkPolicies, and limit who can reach the git credential verification endpoint. Audit Secrets cluster-wide for embedded basic-auth credentials, rotate any that may have been exposed, and review KubeSphere audit logs for suspicious calls to the credential-verification endpoint with internal or unexpected target URLs.

Affected
KubeSpherethrough 4.1.3 (all versions up to and including 4.1.3)
Estimated exposure
moderate≈10,000 KubeSphere deployments (order of magnitude), with low thousands of internet-exposed consoles — Estimate based on KubeSphere's open-source adoption footprint (millions of Docker Hub pulls for the installer but far fewer distinct deployments) and public scan data historically showing a few thousand internet-exposed KubeSphere…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

KubeSphere through 4.1.3 contains a server-side request forgery vulnerability in the git credential verification endpoint that accepts unvalidated caller-supplied URLs without allowlist restrictions. Authenticated attackers can supply arbitrary URLs to reach internal services and exfiltrate basic-auth credentials from Secrets in any namespace by leveraging the endpoint's error response handling.

Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.