RayLabsHQ gitea-mirror before 3.57.0 contains a missing authorization vulnerability in /api/auth/sso/register that allows any authenticated…
CVE-2026-145259
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.
Assessment
- CVSS
- 8.6 (v4.0)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 4 December 2026
- Last updated
- 4 December 2026
- Affected
- RayLabsHQ · gitea-mirror
- Weakness
- CWE-862
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
At the source
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
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-145259