CVE-2026-97859
published medium CVSS 3.1 · 6.5Gitea API disclosure of private user social graph, keys and stars
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 1.27.2 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.2 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
5- Gitea 28.2.0 release announcement https://blog.gitea.com/release-of-28.2.0/
- Fix: go-gitea/gitea pull request #39004 https://github.com/go-gitea/gitea/pull/39004
- Fix backport to release/v1.27: go-gitea/gitea pull request #39039 https://github.com/go-gitea/gitea/pull/39039
- go-gitea/gitea v28.2.0 release https://github.com/go-gitea/gitea/releases/tag/v28.2.0
- GitHub Security Advisory GHSA-xvfh-qwmh-f92w https://github.com/go-gitea/gitea/security/advisories/GHSA-xvfh-qwmh-f92w
Provider assertions
2Gitea · cna
Gitea API disclosure of private user social graph, keys and stars
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1e48a3e89062d99bd2b0cd4b9d73dcf8224f46f2f71d3ff4d64b074216541c1a
- Ingested
- 19 Oct 2026, 18:57:59 UTC
- Source record
- Official CVE record