Missing authorization in RayLabsHQ gitea-mirror SSO provider registration
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-862.
Summary
RayLabsHQ gitea-mirror before 3.57.0 has a missing authorization check (CWE-862) in the /api/auth/sso/register endpoint. Any authenticated user can register a domain-verified OIDC provider for another user's email domain. An attacker who operates that OIDC provider can assert a victim's email to take over the victim's account, read stored GitHub and Gitea tokens through /api/config, and modify mirror settings.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade RayLabsHQ gitea-mirror to version 3.57.0 or later, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA gitea-mirror (RayLabsHQ) Fixed in 3.57.0
Timeline
- 2026-12-04 Threatist record created from CVE-2026-145259
References
More RayLabsHQ vulnerabilities
- TI-2026-97540 Authorization bypass in RayLabsHQ gitea-mirror SSO provider API CVSS 4.0HIGH 8.6
- TI-2026-97527 Server-side request forgery in gitea-mirror connection test endpoints CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences