# CVE-2026-103059: Gitea built-in SSH server authentication bypass through key case folding

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-10-06T19:22:57.192Z
- Modified: 2026-10-16T09:55:59.349Z
- Also known as: BIT-GITEA-2026-103059, GHSA-8pwg-hcgm-54cp
- Weaknesses: CWE-305
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 1.27.3
- gitea gitea: before 28.0.0
- gitea (Bitnami): before 28.0.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp> (advisory, vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39423> (fix, issue-tracking, patch)
- <https://blog.gitea.com/release-of-28.0.0/> (article, release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.0.0> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-103059> (web)

## Sources

- CVE List: [CVE-2026-103059](https://www.cve.org/CVERecord?id=CVE-2026-103059), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-103059](https://nvd.nist.gov/vuln/detail/CVE-2026-103059), Public domain, modified 2026-10-15
- Bitnami Vulnerability Database: [BIT-GITEA-2026-103059](https://osv.dev/vulnerability/BIT-GITEA-2026-103059), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-103059 · Whole record: https://cve.day/CVE-2026-103059.json · Rebuilt by cve.day 2026-11-25T22:59:42.490Z
