CVE-2026-103059CWE-305

CVE-2026-103059

Critical · published October 7, 2026

CVSS v3.1
9.1
EPSS
0%
Percentile
18.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00272 · 18.6th percentile
Weakness
CWE-305 · Authentication Bypass by Primary Weakness
Published
2026-10-07T00:17Z
Affected products (1)
ProductVersionsFixed in
gitea/gitea< 28.0.028.0.0
References (4)
EPSS history
Timeline
  • 08 OCT 03:27Z
    EPSS moved — → 0%
    epss
  • 06 OCT 19:22Z
    Gitea built-in SSH server authentication bypass through key case folding
    cvelistv5