CVE-2026-145259

8.1High

Published Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
Low
User action
None
Impact
High impact on confidentiality, integrity
Weakness
CWE-862

What an attacker gets

Authenticated attackers can take over any user account by registering a malicious OIDC provider for that user's email domain. This allows them to steal GitHub and Gitea tokens and modify mirror settings.

Root cause

The /api/auth/sso/register endpoint lacks authorization checks, allowing any authenticated user to register arbitrary OIDC providers.

Affected versions

gitea-mirror before 3.57.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Fix & remediation

Upgrade to gitea-mirror version 3.57.0 or later. If you cannot upgrade immediately, disable OIDC provider registration in the application configuration.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-145259

More fully triaged vulnerabilities you may want to check next.