What’s Vulnerable › Vulnerabilities
CVE-2026-97859: Gitea API disclosure of private user social graph, keys and stars
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-18 · updated 2026-10-19
- Weakness: CWE-862
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.
Affected products
- Gitea Open Source Git Server: through 1.27.2
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
Get alerted when CVE-2026-97859 or the next vulnerability affects your stack