Description
The OAuth2 userinfo endpoint (`/login/oauth/userinfo`) decided whether to limit the `groups` claim to public organizations by re-parsing the `Authorization` header as an OAuth2 access token instead of using the scope of the credential that authenticated the request. When a public-only OAuth2 token was sent as a query parameter or form field, or a public-only personal access token was used, that scope came back empty and the claim listed the token owner's private organizations, teams and concealed memberships. The disclosure is limited to the owner's organization and team names and memberships; no repository content is exposed. The endpoint now uses the scope of the authenticating token.
Weaknesses
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-863 — CWE-863: Incorrect Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | 1.23.0 to <28.3.0 [affected] |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-q9gm-9c7q-c5hq (vendor-advisory)
- https://github.com/go-gitea/gitea/pull/39690 (patch)
- https://github.com/go-gitea/gitea/pull/39853 (patch)
- https://blog.gitea.com/release-of-28.3.0/ (release-notes)
- https://github.com/go-gitea/gitea/releases/tag/v28.3.0 (release-notes)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 02 Nov 2026 08:07 UTC.