CVE-2026-103059

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductGitea
PublishedOct 6, 2026
First seenOct 6, 2026
Weakness typeCWE-305CWE-305

How to fix

Affected products

ProductAffected versionsFixed in
gitea giteav < 28.0.028.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.