CVE-2026-136190: RayLabsHQ gitea-mirror before 3.38.1 Authorization Bypass via SSO Provider API
RayLabsHQ gitea-mirror before 3.38.1 contains an authorization bypass vulnerability in the /api/sso/providers handlers that allows any authenticated user to access other users' SSO providers without ownership checks. Attackers can read every OIDC client secret in clear text and overwrite or delete providers, redirecting authorization and token endpoints to attacker-controlled servers.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated user can exploit the affected SSO provider API handlers. No elevated administrative privileges or user interaction are required.
What information and capabilities could an attacker gain?
An attacker can access other users' SSO provider configurations, including every OIDC client secret in clear text. They can also overwrite or delete providers and redirect authorization and token endpoints to attacker-controlled servers.
Which deployments are affected?
RayLabsHQ gitea-mirror versions before 3.38.1 are affected. The issue is exposed through the /api/sso/providers handlers where ownership checks are missing.
What should be done if immediate patching is not possible?
The provided information does not specify a workaround. Because any authenticated user can access the affected API endpoints, restrict access to untrusted authenticated users until upgrading is possible.