Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-97859— Gitea API disclosure of private user social graph, keys and stars

Quick assessment

Affected
Gitea Gitea
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gitea 在 路径下注册的七条 API 路由(包括 followers、following、following/{target}、starred、subscriptions、keys 和 gpg_keys)未包含 中间件,而该中间件本应负责强制执行目标用户的可见性策略。因此,已认证用户可以读取那些受限于“受限”或“私有”可见性、且按正常权限本不应被查看的用户的相关信息,包括其关注者列表、关注列表、已星标的仓库、已订阅的仓库,以及公开的 SSH 和 GPG 密钥。该问题已在 1.27.3 和 28.0.0 版本中修

AI Predicted 5.3 Difficulty: Easy

Affected Version Matrix 1

VendorProduct Version RangeStatus
Gitea Gitea ≤ 1.27.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-97859

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gitea API disclosure of private user social graph, keys and stars
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制缺失
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Gitea Gitea 0 ~ 1.27.2 -

II. Public POCs for CVE-2026-97859

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-97859

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-97859 (2)

Vendor Advisories for CVE-2026-97859 (1)

Other References for CVE-2026-97859 (1)

Same Patch Batch · Gitea · 2026-10-18 · 12 CVEs total

CVE-2026-109553 Gitea SSH certificate principal impersonation of other users
CVE-2026-104627 Gitea OpenID account linking without session binding
CVE-2026-105661 Gitea panic on the repositories route of individual users
CVE-2026-105964 Gitea Actions artifact v4 API unbounded request body
CVE-2026-109844 Gitea watched repositories API disclosure after access revocation
CVE-2026-107618 Gitea cross-site request forgery on repository topics
CVE-2026-107686 Gitea reactions accepted on locked issues and comments
CVE-2026-110494 Gitea release attachment re-linking of issue attachments
CVE-2026-110324 Gitea private profile information disclosure through POST request
CVE-2026-110311 Gitea draft release creation disclosing attachment metadata
CVE-2026-97204 Gitea label deletion across repository and organization IDs

IV. Related Vulnerabilities

V. Comments for CVE-2026-97859

No comments yet


Leave a comment