Vulnerability · Published Jul 3, 2026 · Assigned by Gitea

CVE-2026-58422Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts

Critical 9.8

In plain English

A critical-severity improper access control in Gitea Open Source Git Server from Gitea. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.4%top 62.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gocode.gitea.io/gitea1.26.4GHSA-g9g6-qhrc-p3qc
Gocode.gitea.io/gitea1.26.4GO-2026-6056

Affected products (as reported)

VendorProductVersions
Gitea Gitea Open Source Git Server 0 – through 1.26.1

Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References