Medium severity · published Oct 18, 2026
CVE-2026-97859
Gitea API disclosure of private user social graph, keys and stars
6.5
CVSS
0.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GI
Gitea · Gitea
through 1.27.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-97859
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-97859
blog.gitea.com
https://blog.gitea.com/release-of-28.2.0/
github.com
https://github.com/go-gitea/gitea/pull/39004
github.com
https://github.com/go-gitea/gitea/pull/39039
github.com
https://github.com/go-gitea/gitea/releases/tag/v28.2.0
github.com
https://github.com/go-gitea/gitea/security/advisories/GHSA-xvfh-qwmh-f92w
More from Gitea
9.8
CVE-2026-60004
Gitea Code Injection Vulnerability
9.8
CVE-2026-59774
Gitea Org-mode file disclosure and code execution
9.8
CVE-2026-73278
Gitea WebAuthn bypass during OAuth and OIDC sign-in
9.8
CVE-2026-94205
Gitea fork workflow approval bypass through maintainer-triggered events
9.8
CVE-2022-42968
Gitea before 1.17.3 does not sanitize and escape refs in the git backend
