CVE-2026-145259
8.1HighPublished Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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
- https://github.com/RayLabsHQ/gitea-mirror/blob/v3.56.1/src/pages/api/auth/sso/register.ts#L182
- 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/security/advisories/GHSA-c6c2-hr73-h7hw
- https://www.vulncheck.com/advisories/raylabshq-gitea-mirror-before-3.57.0-missing-authorization-in-sso-provider-registration
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1449147.3HighRemote attackers can read or overwrite arbitrary files on the server. No authentication is required to exploit this path traversal vulnerability.
- CVE-2026-1410177.6HighAuthenticated attackers with administrative privileges can perform blind SQL injection to extract sensitive database information. This requires an active WordPress administrator account.
- CVE-2026-1385027.5HighAuthenticated attackers can perform local file inclusion to execute arbitrary PHP code on the server. This requires an account with low-level privileges.
- CVE-2026-1291387.2HighUnauthenticated attackers can execute arbitrary JavaScript in a victim's browser via stored XSS. This requires the Pro Payments module with Stripe Hosted Checkout enabled and a specific SmartCode configuration.
- CVE-2026-1167607.2HighUnauthenticated attackers can inject malicious scripts into your site that execute in the browsers of visitors. This happens by exploiting the XML-RPC pingback mechanism to store payloads in comment fields.
- CVE-2026-1449127.3HighRemote unauthenticated attackers can execute arbitrary SQL queries against the database via the hello parameter in check.php. This allows for data theft or modification without requiring any user interaction.