CVE-2026-68964

Gitea restricted-user SSH and GPG key metadata disclosure

Published Oct 14, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Gitea's user SSH and GPG key-list API endpoints omit the profile visibility check applied by their web equivalents. A restricted account can retrieve public keys, key titles, fingerprints, and GPG-embedded email addresses belonging to Limited-visibility users. The disclosure concerns public key material and associated metadata, not private cryptographic keys.

Analysis

AI-generated

Technical impact

A restricted account can use the SSH and GPG key‑list API endpoints to retrieve public keys, key titles, fingerprints, and embedded email addresses that belong to users whose profile visibility is limited. The flaw arises from a missing profile visibility check in the API, while the web interface correctly enforces it. The violation is a misconfigured access control weakness (CWE‑284) that leads to disclosure of user metadata, not private cryptographic material.

Affected Systems

The vulnerability affects installations of Gitea, regardless of version, as the specific bug existed prior to the release of 1.27.3.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate impact for confidentiality. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited but possible exploitation. Attackers need only send an HTTP request to the exposed API endpoints, requiring no elevated privileges or special credentials beyond those of a restricted account. However, the data exposed consists only of public key metadata and does not enable privilege escalation or further compromise. The description does not explicitly state the attack method, but it is inferred that a restricted account can trigger the vulnerability by accessing the key‑list API.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later, which restores the visibility check on key‑list endpoints.
  • If immediately, configure your reverse proxy (e.g., NGINX or Apache) to deny access to the key‑list API endpoints for restricted accounts or remove those endpoints from the routing table.
  • Continuously monitor API logs for key‑list requests originating from restricted users and investigate any anomalous activity; consider disabling the key‑list API for restricted accounts if it is not required.

Generated by OpenCVE AI on October 15, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description Gitea's user SSH and GPG key-list API endpoints omit the profile visibility check applied by their web equivalents. A restricted account can retrieve public keys, key titles, fingerprints, and GPG-embedded email addresses belonging to Limited-visibility users. The disclosure concerns public key material and associated metadata, not private cryptographic keys.
Title Gitea restricted-user SSH and GPG key metadata disclosure
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 14, 2026, 4:45 PM
Reserved
Aug 13, 2026, 4:50 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM