{"id":"CVE-2026-145259","aliases":["GHSA-c6c2-hr73-h7hw"],"url":"https://o3.security/vulnerability/CVE-2026-145259","summary":"RayLabsHQ gitea-mirror before 3.57.0 Missing Authorization in SSO Provider Registration","details":"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.","published":"2026-12-04T18:31:11.492Z","modified":"2026-12-04T20:00:11.844175781Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/RayLabsHQ/gitea-mirror/commit/231a3be5c9701c1308c5f21adf94c295169cc2b2","label":"RayLabsHQ/gitea-mirror@231a3be"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145259.json"},{"type":"ARTICLE","url":"https://github.com/RayLabsHQ/gitea-mirror/blob/v3.56.1/src/pages/api/auth/sso/register.ts#L182"},{"type":"FIX","url":"https://github.com/RayLabsHQ/gitea-mirror/commit/231a3be5c9701c1308c5f21adf94c295169cc2b2"},{"type":"ADVISORY","url":"https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.57.0"},{"type":"ADVISORY","url":"https://github.com/RayLabsHQ/gitea-mirror/security/advisories/GHSA-c6c2-hr73-h7hw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145259"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/raylabshq-gitea-mirror-before-3.57.0-missing-authorization-in-sso-provider-registration"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-12-04T20:00:11.844175781Z"}}