# CVE-2026-97859: Gitea API disclosure of private user social graph, keys and stars

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 27% of CVEs (2026-11-30)
- Published: 2026-10-18T19:01:04.328Z
- Modified: 2026-10-19T20:52:16.127Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 1.27.2

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-xvfh-qwmh-f92w> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39004> (patch)
- <https://github.com/go-gitea/gitea/pull/39039> (patch)
- <https://blog.gitea.com/release-of-28.2.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.2.0> (release-notes)

## Sources

- CVE List: [CVE-2026-97859](https://www.cve.org/CVERecord?id=CVE-2026-97859), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97859](https://nvd.nist.gov/vuln/detail/CVE-2026-97859), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97859 · Whole record: https://cve.day/CVE-2026-97859.json · Rebuilt by cve.day 2026-11-25T22:59:45.335Z
