CVE-2026-103059

published 6 Oct 2026 · updated 7 Oct 2026

Gitea built-in SSH server authentication bypass through key case folding

9.1CriticalCVSS 9.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaGitea<=1.27.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-103059 severity on Zeptric[![CVE-2026-103059](https://zeptric.io/badge/cve/CVE-2026-103059.svg)](https://zeptric.io/cve/CVE-2026-103059)