CVE-2026-103059: Vulnerability in Gitea

Critical. 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...

CWE-305

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-305
Published
6 Oct 2026
Last change
15 Oct 2026

Affected products

Affected versions and the first fixed release

  • Gitea Before 28.0.0. Fixed in 28.0.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related