Advisory

GHSA-xfq3-qj7j-4565

Also known as: BIT-gitea-2025-68941, CVE-2025-68941, GO-2025-4268

Summary

Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources

Details

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-12-26 03:30 UTC
Modified
2026-01-03 12:25 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.22.3 (semver)

Fixed versions

1.22.3

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