GHSA-mrm7-gjw6-h34cHighCVSS 8.1
RayLabsHQ gitea-mirror before 3.57.0 contains a missing authorization vulnerability in /api/auth...
🔗 CVE IDs covered (1)
📋 Description
RayLabsHQ gitea-mirror before 3.57.0 contains a missing authorization vulnerability in /api/auth/sso/register that allows any authenticated user to register a domain-verified OIDC provider for another user's email domain. Attackers operating that OIDC provider can assert a victim's email to take over their account, read stored GitHub and Gitea tokens via /api/config, and modify mirror settings.
🔗 References (7)
- https://github.com/RayLabsHQ/gitea-mirror/security/advisories/GHSA-c6c2-hr73-h7hw
- https://nvd.nist.gov/vuln/detail/CVE-2026-145259
- https://github.com/RayLabsHQ/gitea-mirror/commit/231a3be5c9701c1308c5f21adf94c295169cc2b2
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.56.1/src/pages/api/auth/sso/register.ts#L182
- https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.57.0
- https://www.vulncheck.com/advisories/raylabshq-gitea-mirror-before-3.57.0-missing-authorization-in-sso-provider-registration
- https://github.com/advisories/GHSA-mrm7-gjw6-h34c