CVE-2026-145259: RayLabsHQ gitea-mirror Auth Bypass

CVE-2026-145259

NVD

Vulnerability Summary

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.
Severity Level
HIGH(8.6)
Published Date
Dec 4, 2026
Last Modified
Dec 4, 2026
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
The software does not perform an authorization check when an actor attempts to access a resource or perform an action.
CVSS v4.0 Base Metrics — Score 8.6 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 8.1)
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • RayLabsHQ gitea-mirror < 3.57.0
Patched Versions
  • RayLabsHQ gitea-mirror 3.57.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run RayLabsHQ gitea-mirror and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Dec 4, 2026Published
  • Dec 4, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new RayLabsHQ gitea-mirror CVEsYou are reading CVE-2026-145259. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 4, 2026 18:53 UTC