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

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.

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

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 yet.

History

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

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

Wed, 14 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Wed, 14 Oct 2026 15:30:00 +0000

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'}


Wed, 14 Oct 2026 14:45:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-10-14T16:45:23.140Z

Reserved: 2026-08-13T16:50:59.756Z

Link: CVE-2026-68964

cve-icon Vulnrichment

Updated: 2026-10-14T14:56:41.951Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:22.160

Modified: 2026-10-14T16:17:51.477

Link: CVE-2026-68964

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T19:15:13Z

Weaknesses