CVE-2026-59766
Description
Gitea's starred-repository and tracked-time API endpoints do not re-check current repository permissions before returning data associated with the requesting user. A user whose access to a private repository has been revoked can still retrieve repository metadata through /api/v1/user/starred and private issue titles through /api/v1/user/times. The disclosure depends on relationships or tracked-time entries created before access was revoked.
How to fix
- code.gitea.io/gitea1.27.0 or later
- gitea.dev1.27.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/giteaGo | v < 1.27.0 | 1.27.0 |
| gitea.devGo | v < 1.27.0 | 1.27.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.