NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Not in CISA KEV

CVE-2026-145259 — gitea-mirror

Fix: RayLabsHQ/gitea-mirror@231a3be

CVE-2026-145259 is a CWE-862 vulnerability. A fix is available — see the affected versions and patch details below.

RayLabsHQ gitea-mirror before 3.57.0 Missing Authorization in SSO Provider Registration

Also known asGHSA-c6c2-hr73-h7hw
Published
Updated
Affected
184 versions
Patched
See advisory
Exploits
None indexed
Exploitation data as of Dec 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

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.

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Fix

    Upgrade the affected component to the fixed release for CVE-2026-145259, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2026-145259 in your dependencies?

Find it across your dependency tree, including transitive dependencies.