Advisory

GHSA-5v69-g2m3-3hq3

Also known as: CVE-2026-26232, GO-2026-6336

Summary

Gitea OAuth2 authorization codes can be reused after expiry

Details

Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-07-03 21:31 UTC
Modified
2026-09-02 19:55 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.25.5 (semver)

Fixed versions

1.25.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences