Gitea private repository metadata disclosure after access revocation
Gitea
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| code.gitea.io/gitea Go |
|
|
| gitea.dev Go |
|
|
Original 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.