{"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":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cvssSource":"adp","cwe":["CWE-862"],"vendor":"Gitea","product":"gitea.dev","affected":["gitea.dev <= 1.27.2"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-19T18:54:24.078740Z"},"published":"2026-10-18","updated":"2026-10-19","sourceUpdated":"2026-10-19T18:54:32.163Z","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","exploit-available"],"ingestedAt":"2026-10-18T19:51:12.328Z","epss":0.00309,"epssPercentile":0.23587,"exploits":{"github":3,"githubRepos":["https://github.com/ahiamaduuche-sys/CVE-2026-97859-Analysis","https://github.com/ahiamaduuche-sys/CVE-2026-97859-Cybersecurity-Analysis","https://github.com/ahiamaduuche-sys/CVE-2026-97859-CYB-Analysis"],"checkedAt":"2026-10-27T19:25:11.755Z"},"exploitAvailable":true,"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":"twilight","depthScore":48,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":227685,"id":"CVE-2026-97859","ts":1792704669777,"field":"exploit_available","old":"false","new":"true"},{"seq":225128,"id":"CVE-2026-97859","ts":1792438812020,"field":"cvss","old":null,"new":"6.5"},{"seq":225127,"id":"CVE-2026-97859","ts":1792438812020,"field":"severity","old":"none","new":"medium"}]}