CVE-2026-103059
published critical CVSS 3.1 · 9.1Gitea built-in SSH server authentication bypass through key case folding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 1.27.3 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.3 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-305 CWE-305 Authentication Bypass by Primary Weakness
References
4- Gitea 28.0.0 release announcement https://blog.gitea.com/release-of-28.0.0/
- Fix: go-gitea/gitea pull request #39423 https://github.com/go-gitea/gitea/pull/39423
- go-gitea/gitea v28.0.0 release https://github.com/go-gitea/gitea/releases/tag/v28.0.0
- GitHub Security Advisory GHSA-8pwg-hcgm-54cp https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp
Provider assertions
2Gitea · cna
Gitea built-in SSH server authentication bypass through key case folding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 33139a97a14c05266064a2d3167972b4835cbc1c091c821fec1ac7fa852ea23c
- Ingested
- 07 Oct 2026, 15:05:12 UTC
- Source record
- Official CVE record