GHSA-62m9-f875-rqw6

Suggest an improvement
Source
https://github.com/advisories/GHSA-62m9-f875-rqw6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-62m9-f875-rqw6/GHSA-62m9-f875-rqw6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-62m9-f875-rqw6
Aliases
Published
2026-11-10T15:57:15Z
Modified
2026-11-10T16:15:04Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
GPUStack: SAML callback trusts an unverified SAMLResponse, allowing authentication bypass and account takeover
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-294",
        "CWE-347"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-10T15:57:15Z",
    "nvd_published_at": "2026-11-04T22:17:44Z",
    "severity": "CRITICAL"
}
References

Affected packages

PyPI / gpustack

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.7.1
Fixed
2.2.2

Affected versions

0.*
0.7.1
2.*
2.0.0rc1
2.0.0rc2
2.0.0
2.0.1rc2
2.0.1
2.0.2rc1
2.0.2rc2
2.0.2
2.0.3rc1
2.0.3
2.1.0rc1
2.1.0rc2
2.1.0
2.1.1rc1
2.1.1
2.1.2rc2
2.1.2
2.2.0rc1
2.2.0rc2
2.2.0rc3
2.2.0rc4
2.2.0
2.2.1rc1
2.2.1
2.2.2rc1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-62m9-f875-rqw6/GHSA-62m9-f875-rqw6.json"