RayLabsHQ gitea-mirror before 3.38.1 Authorization Bypass via SSO Provider API
- State
- Published
- Severity
- 8.6 High
- Published
- Nov 24, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 24, 2026
Description
RayLabsHQ gitea-mirror before 3.38.1 contains an authorization bypass vulnerability in the /api/sso/providers handlers that allows any authenticated user to access other users' SSO providers without ownership checks. Attackers can read every OIDC client secret in clear text and overwrite or delete providers, redirecting authorization and token endpoints to attacker-controlled servers.
| Product | Versions |
|---|---|
| gitea-mirror RayLabsHQ | before 3.38.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.6 High | VulnCheck | |
| 3.1 | 8.1 High | VulnCheck |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
References
- GitHub Security Advisory (GHSA-2hpx-83vg-gm45)Vendor Advisory
- https://github.com/RayLabsHQ/gitea-mirror/commit/c6157cdaad67321625d315b0f2f836b982cfe335Patch
- gitea-mirror v3.38.1 Release NotesRelease Notes
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.38.0/src/pages/api/sso/providers.ts#L10-L31Technical Details
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.38.0/src/pages/api/sso/providers.ts#L162-L315Technical Details
- VulnCheck Advisory: RayLabsHQ gitea-mirror before 3.38.1 Authorization Bypass via SSO Provider APIThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.