Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-103059

Gitea built-in SSH server authentication bypass through key case folding
Back to all
CVE

CVE-2026-103059

Gitea built-in SSH server authentication bypass through key case folding

When Gitea's built-in SSH server is enabled (STARTSSHSERVER = 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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Related Resources

No items found.

References

https://blog.gitea.com/release-of-28.0.0/, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103059.json, https://github.com/go-gitea/gitea/releases/tag/v28.0.0, https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp, https://nvd.nist.gov/vuln/detail/CVE-2026-103059, https://github.com/go-gitea/gitea/pull/39423

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00391%
EPSS Percentile
0.33285%
Introduced Version
0,v0.9.99,v1.16.0-rc1,v1.27.0-rc0
Fix Available
15b8a5805adf57c5189602008d38cccfd3c795e0,v1.16.0-dev.0.20211210081424-3ca5dc7e32b3,v28.0.0,28.0.0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading