CVE-2026-68964 Details
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.
A vulnerability in Gitea's API allows restricted accounts to access SSH and GPG keys of users with Limited visibility. The affected API endpoints, `GET /api/v1/users/{username}/keys` and `GET /api/v1/users/{username}/gpg_keys`, return key titles, public key material, fingerprints, and GPG-embedded email addresses. This issue arises because the API endpoints do not apply the same visibility checks as their web counterparts, which correctly deny access to restricted users. The vulnerability affects Gitea versions through 1.27.2.
Users can upgrade to Gitea version 1.27.3, which addresses this vulnerability by applying the necessary visibility checks to the API endpoints.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 14, 2026CISA-ADP
Assessed Oct 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.27.3/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/39004 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/pull/39039 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.27.3 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-wwmh-7r9x-fg49 | Gitea Limited | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Gitea | <= 1.27.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2026 | New CVE Received | Gitea Limited |
Volerion