CVE-2026-97859 Gitea API disclosure of private user social graph, keys and stars
MediumCVSS 6.5
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | <= 1.27.2 | after 1.27.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 1.27.2 | No fix listed |
References
- GitHub Security Advisory GHSA-xvfh-qwmh-f92w vendor-advisory
- Fix: go-gitea/gitea pull request #39004 patch
- Fix backport to release/v1.27: go-gitea/gitea pull request #39039 patch
- Gitea 28.2.0 release announcement release-notes
- go-gitea/gitea v28.2.0 release release-notes
- ENISA EUVD EUVD-2026-103993 third-party-advisory