{"id":"CVE-2026-97859","title":"Gitea API disclosure of private user social graph, keys and stars","summary":"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…","severity":"none","cwe":["CWE-862"],"vendor":"Gitea","product":"gitea.dev","affected":["gitea.dev <= 1.27.2"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T19:01:04.328Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97859","references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-xvfh-qwmh-f92w","label":"GitHub Security Advisory GHSA-xvfh-qwmh-f92w"},{"url":"https://github.com/go-gitea/gitea/pull/39004","label":"Fix: go-gitea/gitea pull request #39004"},{"url":"https://github.com/go-gitea/gitea/pull/39039","label":"Fix backport to release/v1.27: go-gitea/gitea pull request #39039"},{"url":"https://blog.gitea.com/release-of-28.2.0/","label":"Gitea 28.2.0 release announcement"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.2.0","label":"go-gitea/gitea v28.2.0 release"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T19:51:12.328Z","slug":"CVE-2026-97859","body":"## Overview\n\nSeven 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.\n\n## Affected\n\n- `gitea.dev <= 1.27.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}