Vulnerability Description
Seven Gitea API routes under `/api/v1/users/{username}` (followers, following, following/{target}, starred, subscriptions, keys and gpg_keys) were registered without the `individualPermsChecker` middleware that enforces the visibility of the target user. An authenticated user could therefore read the followers, following list, starred and watched repositories and public SSH and GPG keys of a user with limited or private visibility, whom they could not otherwise see. The issue was fixed in 1.27.3 and 28.0.0 and disclosed with 28.2.0.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://blog.gitea.com/release-of-28.2.0/
- https://github.com/go-gitea/gitea/pull/39004
- https://github.com/go-gitea/gitea/pull/39039
- https://github.com/go-gitea/gitea/releases/tag/v28.2.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-xvfh-qwmh-f92w
FAQ
What is CVE-2026-97859?
CVE-2026-97859 is a vulnerability with a CVSS score of 6.5 (MEDIUM). Seven Gitea API routes under `/api/v1/users/{username}` (followers, following, following/{target}, starred, subscriptions, keys and gpg_keys) were registered without the `individualPermsChecker` middl...
How severe is CVE-2026-97859?
CVE-2026-97859 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-97859?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.