When Gitea's built-in SSH server is enabled (`START_SSH_SERVER = true`), the presented public key was looked up with…
Gitea · Gitea
Gitea's built-in SSH server, when enabled (START_SSH_SERVER = true), matched presented public keys by an SQL LIKE comparison of their encoded content, which is case-insensitive on some databases including the default SQLite. An attacker who can present a case variant of another user's registered RSA public key, and who can derive the corresponding private key, can authenticate over SSH as that user, with no authentication or user interaction required beforehand.
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 6 Oct 2026. No public exploit code or confirmed exploitation is recorded.
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.