CVE Vulnerabilities

CVE-2026-103059

Authentication Bypass by Primary Weakness

Published: Oct 06, 2026 | Modified: Oct 15, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.4 IMPORTANT
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Ubuntu
root.io logo minimus.io logo echo.ai logo

When Giteas 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 users registered RSA public key for which they can derive the private key could have that key matched to the victims account and authenticate over SSH as that user. Keys are now looked up by fingerprint.

Weakness

The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.

Affected Software

NameVendorStart VersionEnd Version
GiteaGitea*28.0.0 (excluding)

References