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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | ≤ 1.27.2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
ahiamaduuche-sys/CVE-2026-97859-Analysis ★ 0 · Oct 21, 2026
Cybersecurity assignment on CVE-2026-97859, severity analysis, patching, and the Cyber Kill Chain.
-
ahiamaduuche-sys/CVE-2026-97859-CYB-Analysis ★ 0 · Oct 21, 2026
Cybersecurity assignment on CVE-2026-97859, severity analysis, patching, and the Cyber Kill Chain.
-
ahiamaduuche-sys/CVE-2026-97859-Cybersecurity-Analysis ★ 0 · Oct 21, 2026
Cybersecurity assignment on CVE-2026-97859, severity analysis, patching, and the Cyber Kill Chain.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-4021 Gitea: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
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