Vulnerability in Gitea
CVE-2026-103059
- CVSS v3
- 9.1 Critical
- Public exploits
- None known
- EPSS
- 0.005 · 34.7th percentile
- Published
- 2026-10-06
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.005, 34.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- GitHub Security Advisory GHSA-8pwg-hcgm-54cp (vendor-advisory, Vendor Advisory)
- Fix: go-gitea/gitea pull request #39423 (Patch, patch, Issue Tracking)
- Gitea 28.0.0 release announcement (release-notes, Release Notes)
- go-gitea/gitea v28.0.0 release (release-notes, Release Notes)