Skip to content

CVE-2026-59766 Gitea private repository metadata disclosure after access revocation

MediumCVSS 4.3 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
code.gitea.io/gitea(Go) < 1.27.0 1.27.0 Fixed
gitea.dev(Go) < 1.27.0 1.27.0 Fixed
Gitea = 1.25.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
code.gitea.io/gitea(Go) < 1.27.0 1.27.0
gitea.dev(Go) < 1.27.0 1.27.0
Gitea = 1.25.4 No fix listed

References