CVE-2026-103059Gitea built-in SSH server authentication bypass through key case folding
Updated under an hour ago ()
Does this affect you?
It affects Gitea. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.27%, higher than 18% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 9.1 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE)
- CWE-305
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.27% (percentile 18)
- Assigned by
- Gitea
- NVD analysis
- Analyzed
- Record last updated
- Oct 7, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Gitea Gitea gitea:gitea (from the name) | through 1.27.3 | CNA record |
gitea gitea gitea:gitea | before 28.0.0 | NVD |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cpvendor-advisory
- https://github.com/go-gitea/gitea/pull/39423patch, issue-tracking
- https://blog.gitea.com/release-of-28.0.0/release-notes
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.