CVE-2026-145259: RayLabsHQ gitea-mirror Missing Authorization
Published 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — update RayLabsHQ gitea-mirror to 3.57.0 or later in your next patch cycle.
What to do
- Update RayLabsHQ gitea-mirror to version 3.57.0 or later. Versions before 3.57.0 are affected.
- Until it is patched, restrict network access to RayLabsHQ gitea-mirror and review which accounts can log in to it.
- Restrict access to the affected feature and review logs for use by accounts that should not have it.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| RayLabsHQ gitea-mirror | < 3.57.0 | 3.57.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality and integrity is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness: Missing Authorization
The software performs an action without checking that the caller is allowed to, so lower-privileged or anonymous users can use it.
Classified as CWE-862.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/RayLabsHQ/gitea-mirror/commit/231a3be5c9701c1308c5f21adf94c295169cc2b2
- Patchhttps://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.57.0
- Advisoryhttps://github.com/RayLabsHQ/gitea-mirror/security/advisories/GHSA-c6c2-hr73-h7hw
- Advisoryhttps://www.vulncheck.com/advisories/raylabshq-gitea-mirror-before-3.57.0-missing-authorization-in-sso-provider-registration
- Referencehttps://github.com/RayLabsHQ/gitea-mirror/blob/v3.56.1/src/pages/api/auth/sso/register.ts#L182