CRITICAL · CVSS 3.1 9.1 EPSS 0.3% · 18th percentile CWE-294CWE-347

CVE-2026-102894: GPUStack: SAML callback trusts an unverified SAMLResponse, allowing authentication bypass and account takeover

Published 2026-11-10 · Updated 2026-11-10 · Also known as GHSA-62m9-f875-rqw6

Summary

GPUStack fails to verify SAML authentication responses, allowing unauthenticated attackers to hijack accounts by spoofing user identities. All users of GPUStack 0.7.1 through 2.2.1 must upgrade immediately to version 2.2.2.

Who is affected

The vulnerability affects all GPUStack deployments, even those where SAML is not explicitly configured, because the callback endpoint remains active and processes payloads regardless of settings. An attacker with network access to the /auth/saml/callback endpoint can perform full account takeover, including obtaining administrative access, by sending a forged or replayed SAML response.

Exploitability

The vulnerability is highly exploitable, carrying a critical CVSS score of 9.1 due to low attack complexity and no requirement for authentication or user interaction. While the current EPSS score is 0.003, indicating low predicted exploit frequency, the flaw is not currently listed in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
PyPI gpustack >= 0.7.1, < 2.2.2 2.2.2 python -m pip install 'gpustack>=2.2.2'

CVSS 3.1 vector

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

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

FAQ

Do I need to have SAML configured for my deployment to be at risk?

No. The vulnerability exists because the callback endpoint parses and acts upon incoming payloads even if SAML is not enabled or configured in the system.

Does this allow an attacker to gain administrative privileges?

Yes. If an attacker submits a forged SAML response identifying an administrator username, they can assume that administrative session and gain full control over the deployment.

Is there a workaround that avoids upgrading?

There is no configuration-level workaround. The only effective mitigation prior to upgrading is to block network traffic to the /auth/saml/callback endpoint using an external firewall, ingress controller, or reverse proxy.

Original advisory description
### Impact The callback Base64-decodes the posted XML, reads NameID and attributes, resolves or provisions the user, and mints a gpustack_session JWT - but never calls OneLogin_Saml2_Auth.process_response(), the step that verifies the signature, issuer, audience, destination, and time conditions. No credentials are required, and SAML SSO does not even need to be configured. The callback processes the payload and issues a session regardless of whether SAML is set up, so every deployment is affected, not only SAML-enabled ones. Anyone who can reach the endpoint over the network can authenticate as an arbitrary identity by posting a response that names it: - If the name matches an existing user (e.g. an administrator), the attacker receives that user's session - full account takeover, including administrator access. - Otherwise, a new non-admin user is provisioned. Administrator access grants full control over the deployment and the infrastructure it manages. Because Response/Assertion IDs are never consumed, a captured signed response also replays indefinitely. Precondition: network reachability to /auth/saml/callback. SAML SSO configuration is not required. A full proof-of-concept is available privately to maintainers. ### Patches Fixed in gpustack 2.2.2: - The SAML callback now validates the response via OneLogin_Saml2_Auth.process_response() - signature, issuer, audience, destination, and time conditions - and rejects responses that fail, so forged or replayed assertions are no longer accepted. - The SAML and OIDC login/callback routes are now gated to run only when that provider is the configured active provider, so a deployment that has not enabled the provider no longer parses attacker-supplied IdP payloads. ### Workarounds There is no effective configuration-level workaround - disabling or not configuring SAML does not mitigate this on affected versions, since the callback runs regardless. Until upgraded, block network access to /auth/saml/callback (e.g. at a reverse proxy / ingress). ### Credit Reported privately by Austin Chu, Sohee Kim, and Corban Villa (UC Berkeley security research project), and independently, earlier, by a researcher who wishes to remain anonymous.

References

Source records: GHSA-62m9-f875-rqw6 (OSV.dev) · EPSS by FIRST, 2026-11-21.