CVE-2026-103059 Gitea built-in SSH server authentication bypass through key case folding
Attackers can bypass SSH authentication in Gitea by exploiting case-insensitive key lookups, allowing them to log in as other users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-103059?
CVE-2026-103059 is a critical authentication bypass vulnerability in Gitea Gitea, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-305
Which versions are affected by CVE-2026-103059?
1 open source package ship an affected version, including gitea. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitea Bitnami | All versions | 28.0.0 |
Products include Gitea Gitea.
How do I fix CVE-2026-103059?
Upgrade gitea to 28.0.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-103059 being exploited?
There is no known exploitation of CVE-2026-103059 in the wild and no public exploit code.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2026-103059, GHSA-8pwg-hcgm-54cp, MINI-fffj-jxj3-r2xf, MINI-w3j4-qm32-6qv7.