CVE-2026-145259: RayLabsHQ gitea-mirror before 3.57.0 Missing Authorization in SSO Provider Registration

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
RayLabsHQ gitea-mirror<3.57.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.57.0

Event History

Dec 4, 2026
CVE Published
via MITRE·06:31 PM
Data Sourced
via MITRE·06:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and what access do they need?

Any authenticated user can exploit the affected SSO provider registration endpoint. The attacker must operate an OIDC provider and be able to register it as domain-verified for another user's email domain.

2

What can an attacker do after successful exploitation?

An attacker can assert the victim's email through their OIDC provider to take over the victim's account. They can then read stored GitHub and Gitea tokens through /api/config and modify mirror settings.

3

Which versions should be remediated?

RayLabsHQ gitea-mirror versions before 3.57.0 are affected. Version 3.57.0 is the referenced fixed release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203