PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-58422 Gitea CVE debrief

CVE-2026-58422 Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts. This critical vulnerability affects Gitea deployments, allowing attackers to bypass authorization and re-enable disabled administrator accounts. Gitea administrators and security teams should assess exposure and verify remediation due to the critical severity of this authorization vulnerability. The vulnerability is addressed in Gitea version 1.26.4, and defenders should prioritize verifying and remediating this issue to prevent potential unauthorized account access.

Vendor
Gitea
Product
Gitea Open Source Git Server
CVSS
CRITICAL 9.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-03
Original CVE updated
2026-10-25
Advisory published
2026-07-03
Advisory updated
2026-10-25

Who should care

Gitea administrators and security teams should assess exposure and verify remediation due to the critical severity of this authorization vulnerability. Gitea deployments are at risk, and defenders should prioritize verifying and remediating this issue to prevent potential unauthorized account access. Security teams should review and remediate this issue to prevent potential unauthorized account access.

Why it matters

CVE-2026-58422 is a critical vulnerability in Gitea's OAuth sign-in callback that allows silent re-enablement of administrator-disabled accounts. Gitea administrators should verify and remediate this issue to prevent potential unauthorized account access.

  • Potential unauthorized account re-enablement
  • Required verification of Gitea version and administrator account status
  • Possible impact on administrator account management

Technical summary

The vulnerability allows an attacker to silently re-enable administrator-disabled accounts via the OAuth sign-in callback. This issue is addressed in Gitea version 1.26.4. Gitea administrators and security teams should assess exposure and verify remediation due to the critical severity of this authorization vulnerability. The vulnerability poses a critical risk to Gitea deployments, and defenders should prioritize verifying and remediating this issue to prevent potential unauthorized account access. The fix in version 1.26.4 addresses the improper authorization vulnerability.

Defensive priority

Defenders should prioritize verifying and remediating this vulnerability, especially in Gitea deployments where administrator account management is critical.

Recommended defensive actions

  • Verify Gitea deployments for version 1.26.4 or later
  • Review administrator-disabled accounts for unexpected re-enablement
  • Implement additional monitoring for OAuth sign-in callback activity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the improper authorization vulnerability in Gitea's OAuth sign-in callback. Vendor sources indicate a fix in version 1.26.4. This issue allows silent re-enablement of administrator-disabled accounts, posing a critical risk to Gitea deployments. Defenders should verify Gitea version and administrator account status, and implement additional monitoring for OAuth sign-in callback activity. The vulnerability has been addressed, and Gitea administrators should review and remediate this issue.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-58422 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-58422

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-58422 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-58422

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://blog.gitea.com/release-of-1.26.3-and-1.26.4/

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/38009

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v1.26.4

    88ee5874-cf24-4952-aea0-31affedb7ff2

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-g9g6-qhrc-p3qc

    88ee5874-cf24-4952-aea0-31affedb7ff2

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.