VDB
Sign up
HIGH8.1

GO-2026-5721

Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes in code.gitea.io/gitea

Quick fix

GO-2026-5721 — code.gitea.io/gitea: upgrade to the fixed version with the command below.

go get code.gitea.io/gitea@v1.26.2

Details

Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes in code.gitea.io/gitea

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/code.gitea.io/gitea
Introduced in: 1.22.3Fixed in: 1.26.2
Fixgo get code.gitea.io/gitea@v1.26.2

References