# CVE-2026-136190

Auth bypass in gitea-mirror SSO API exposing OIDC secrets and enabling SSO takeover

- Page: https://www.vulneraibility.com/cve/CVE-2026-136190
- CVSS: 8.6
- Known exploited: not in CISA KEV as of our last sync
- Weakness: CWE-639
- Also known as: GHSA-2hpx-83vg-gm45
- Published: 2026-11-24

## Affected versions

- RayLabsHQ gitea-mirror: affected < 3.38.1

A version outside these ranges is not a statement that it is unaffected.

## Impact

Authenticated users can read OIDC client secrets, overwrite/delete SSO providers, redirect auth/token endpoints, steal tokens and hijack accounts.

## Action

Immediate action required

## Recommendation

Upgrade to v3.38.1+, rotate exposed OIDC client secrets, review SSO provider configs

## References

- [advisory] https://github.com/RayLabsHQ/gitea-mirror/security/advisories/GHSA-2hpx-83vg-gm45
- [patch] https://github.com/RayLabsHQ/gitea-mirror/commit/c6157cdaad67321625d315b0f2f836b982cfe335
- [other] https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.38.1
- [other] https://github.com/RayLabsHQ/gitea-mirror/blob/v3.38.0/src/pages/api/sso/providers.ts#L10-L31
- [other] https://github.com/RayLabsHQ/gitea-mirror/blob/v3.38.0/src/pages/api/sso/providers.ts#L162-L315
- [advisory] https://www.vulncheck.com/advisories/raylabshq-gitea-mirror-before-3.38.1-authorization-bypass-via-sso-provider-api

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
