Read the docs

Authorization bypass in RayLabsHQ gitea-mirror SSO provider API

Priority MEDIUM 40CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-639.

Summary

RayLabsHQ gitea-mirror before 3.38.1 contains an authorization bypass in the /api/sso/providers handlers caused by missing ownership checks (CWE-639). An authenticated user with low privileges can read other users' OIDC client secrets in clear text and overwrite or delete their SSO providers, redirecting authorization and token endpoints to attacker-controlled servers.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00476 33rd percentileScored 2026-11-30
Fix Fixed gitea-mirror (RayLabsHQ): 3.38.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
RayLabsHQgitea-mirrorbefore 3.38.13.38.1Patch availableCNA
  • gitea-mirror VendorRayLabsHQ Affected before 3.38.1 Fixed in 3.38.1 Patch available CNA

Remediation

Upgrade RayLabsHQ gitea-mirror to version 3.38.1, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

  • Fix · CNA gitea-mirror (RayLabsHQ) Fixed in 3.38.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    RayLabsHQ gitea-mirror 3.38.1

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-97527 Server-side request forgery in gitea-mirror connection test endpointsPriority LOW 31

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-136190
  2. 2026-11-24 Alias added: GHSA-mx2j-j229-v354
  3. 2026-11-28 CISA SSVC decision points changed

References

  • TI-2026-97527 Server-side request forgery in gitea-mirror connection test endpoints CVSS 4.0MEDIUM 6.9

Sources