When Gitea's built-in SSH server is enabled (`START_SSH_SERVER = true`), the presented public key was looked up with an SQL `LIKE` comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who can construct a case variant of another user's registered RSA public key for which they can derive the private key could have that key matched to the victim's account and authenticate over SSH as that user. Keys are now looked up by fingerprint.
References
| Link | Resource |
|---|---|
| https://blog.gitea.com/release-of-28.0.0/ | Release Notes |
| https://github.com/go-gitea/gitea/pull/39423 | Patch Issue Tracking |
| https://github.com/go-gitea/gitea/releases/tag/v28.0.0 | Release Notes |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp | Vendor Advisory |
Configurations
History
15 Oct 2026, 02:26
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* | |
| First Time |
Gitea gitea
Gitea |
|
| References | () https://blog.gitea.com/release-of-28.0.0/ - Release Notes | |
| References | () https://github.com/go-gitea/gitea/pull/39423 - Patch, Issue Tracking | |
| References | () https://github.com/go-gitea/gitea/releases/tag/v28.0.0 - Release Notes | |
| References | () https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp - Vendor Advisory |
07 Oct 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.1 |
| CWE | CWE-305 |
06 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-06 20:17
Updated : 2026-10-15 02:26
NVD link : CVE-2026-103059
Mitre link : CVE-2026-103059
CVE.ORG link : CVE-2026-103059
JSON object : View
Products Affected
gitea
- gitea
CWE
CWE-305
Authentication Bypass by Primary Weakness
