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.
Published: 2026-10-18
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch
AI Analysis

Impact

This flaw stems from several Gitea API endpoints under /api/v1/users/{username} that were registered without the required visibility checker middleware. An authenticated user can exploit this to read the followers, following chain, starred or watched repositories, and the public SSH and GPG keys of any user who has limited or private visibility. The data exposed includes the user’s private social graph and cryptographic keys, leading to a privacy breach and potential compromise of user identity and authentication material. The weakness is characterized as an improper access control flaw (CWE‑862).

Affected Systems

The vulnerability exists in Gitea releases prior to the fixes that landed in version 1.27.3 and the 28.0.0 release line. Any deployment running Gitea 1.27.x or 28.0.x before these patch releases, including the 28.2.0 release that shipped the issue, is affected. Upgrading to at least 1.27.3 or 28.0.0 or later resolves the problem.

Risk and Exploitability

The vulnerability requires an attacker to possess authenticated credentials, but the impact is significant because it allows disclosure of sensitive private data. The EPSS score is less than 1%, indicating a very low but nonzero probability of exploitation, and the flaw is not listed in the CISA KEV catalog. Nevertheless, an authenticated user with privileged rights could use the exposed endpoints to harvest personal data, and the absence of visibility checks could be abused to map social connections and key material across the platform. The CVSS score of 6.5 indicates a moderate severity.

Generated by OpenCVE AI on October 19, 2026 at 22:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to a version that includes the security fix – at least 1.27.3 or 28.0.0 and newer.
  • Implement strict API token scopes and audit user credentials to reduce the risk of accidental exposure through compromised or overly privileged accounts.
  • Apply standard least‑privilege access controls on user accounts and monitor for anomalous API activity.

Generated by OpenCVE AI on October 19, 2026 at 22:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Mon, 19 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Sun, 18 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title Gitea API disclosure of private user social graph, keys and stars
Weaknesses CWE-862
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-19T18:54:32.163Z

Reserved: 2026-10-04T22:02:04.898Z

Link: CVE-2026-97859

cve-icon Vulnrichment

Updated: 2026-10-19T18:54:19.227Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-18T19:16:33.637

Modified: 2026-10-19T20:52:16.127

Link: CVE-2026-97859

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T22:15:05Z

Weaknesses