# GHSA-GH77-CJQH-PMVR: Client-controlled SSO identity binding enables administrator account takeover

- Database: GitHub
- Severity: CVSS 8.0 (High)
- Published: 2026-09-29
- Modified: 2026-09-29

## Affected versions

- github.com/OpenListTeam/OpenList/v4 (Go): through 4.2.5

## Description

## Impact

An attacker can persistently replace the SSO identity bound to a logged-in non-guest account and then sign in as that account using their own identity-provider credentials. For an administrator victim, this yields a full administrator JWT (confirmed access to `GET /api/admin/user/list`, returning id 1 / username `admin` / role 2).

## Proof of Concept

Send a logged-in administrator the URL `https://openlist.example/@manage?sso_id=<ATTACKER_SUB>`. The frontend (`Profile.tsx`) reads `sso_id` from the query string and sends `POST /api/me/update` with the attacker's subject; the backend `UpdateCurrent` (`server/handles/auth.go`) persists it into the user's `SsoID` without requiring the current password, 2FA, or a completed IdP flow. The attacker then completes a normal SSO login with their own IdP credentials, and OpenList issues a JWT for the administrator account.

A cross-origin `postMessage` vector achieves the same result: open `https://openlist.example/@manage` and post `{ "sso_id": "<ATTACKER_SUB>" }` to the popup.

## References

- https://github.com/OpenListTeam/OpenList/security/advisories/GHSA-gh77-cjqh-pmvr

Page: https://cve.now/GHSA-GH77-CJQH-PMVR

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
