Advisory

GHSA-m5ch-ppfx-xv3v

Also known as: CVE-2026-26247, GO-2026-6342

Summary

Gitea OAuth2 PKCE S256 verifier bypass

Details

Gitea versions before 1.25.5 do not persist the OAuth2 PKCE S256 challenge method correctly during authorization, allowing token exchange without the expected verifier check.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-07-03 21:31 UTC
Modified
2026-09-02 19:41 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