CVE-2026-145259
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| raylabshq | gitea-mirror | {"endExcluding":"3.57.0"} | 3.57.0 |
References
- https://github.com/RayLabsHQ/gitea-mirror/security/advisories/GHSA-c6c2-hr73-h7hw
- https://github.com/RayLabsHQ/gitea-mirror/commit/231a3be5c9701c1308c5f21adf94c295169cc2b2
- https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.57.0
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.56.1/src/pages/api/auth/sso/register.ts#L182
- https://www.vulncheck.com/advisories/raylabshq-gitea-mirror-before-3.57.0-missing-authorization-in-sso-provider-registration
CWEs
CWE-862
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.