CVE-2026-102894 is an authentication bypass in GPUStack's SAML single-sign-on callback. The vulnerable code lives in gpustack/routes/auth.py in the module-level route handler saml_callback, which is wired to /auth/saml/callback for both GET and POST.
In the vulnerable version (confirmed against the v2.2.1 source), saml_callback performs the whole trust decision by hand: it reads the SAMLResponse out of the request, base64-decodes it (and inflates it for the GET/HTTP-Redirect binding), parses the XML with lxml (etree.fromstring), pulls the NameID and every saml:Attribute value, chooses a username from the configured external_auth_name or the email/emailaddress/name_id/nameidentifier fallbacks, looks the user up with User.first_by_fields, provisions a new non-admin user if none exists, optionally syncs groups, and finally mints a gpustack_session JWT via jwt_manager.create_jwt_token. At no point does it call OneLogin_Saml2_Auth.process_response() — the only code path that validates the assertion's signature, issuer, audience, destination and time conditions (init_saml_auth was only used by saml_login / saml_logout_callback). Because the callback also runs regardless of whether SAML is configured as the active provider, an unauthenticated attacker who can reach the endpoint can post a forged assertion naming any identity (e.g. an existing administrator) and receive that user's session; new identities are silently provisioned. Since response/assertion IDs are never consumed, captured signed assertions also replay indefinitely.
The fix commit 705edbe1b5feec63959306daecd640e1c70eced2 (mirrored by 01e0c7d8162502fc3f7744769cbe3ea798269640, PR #5753) modifies exactly this function: it deletes the manual etree/NameID/Attribute parsing and the inline resolve/create, normalises the payload to plain base64, constructs OneLogin_Saml2_Auth with hardened _saml_settings (signature floor via wantAssertionsSigned/wantMessagesSigned), calls process_response(), and refuses to read get_nameid()/get_attributes() unless get_errors() is empty and is_authenticated() is true. A follow-up commit adc6d82be34e48390720a1361df616e2ea9d6d45 (PR #5923, mirrored by 3a0924f7) additionally gates the route behind a _provider_gate dependency so it is closed when SAML is not the active provider.
The functions introduced by the fix (_saml_response_signature_kinds, _saml_unsigned_escape_hatch, _extract_saml_attributes_unsigned, _saml_settings, _provider_gate) and the helper _resolve_or_provision_external_user are mitigations/refactors that did not exist in the vulnerable version — v2.2.1 still does the resolve/create inline inside saml_callback — so they are not reported. The single vulnerable function that would surface in a Python runtime profile when this is exploited is saml_callback.