CVE-2026-103059 json
Gitea built-in SSH server authentication bypass through key case folding
published last mo. modified 24d ago also BIT-gitea-2026-103059 , EUVD-2026-93906 , GHSA-8pwg-hcgm-54cp
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitea 28.0.0
- gitea gitea 28.0.0
- github.com/go-gitea/gitea#39423 pull request
- github.com/go-gitea/gitea/releases/tag/v28.0.0 release
Is CVE-2026-103059 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-103059 updated cvss 7.4
code.gitea.io/gitea: Gitea: Authentication bypass via case-insensitive SSH public key lookup
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitea | <28.0.0 |
28.0.0 |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-305 Authentication Bypass by Primary Weakness
References
-
github.com
/go-gitea/gitea/pull/39423
patch, issue-tracking
-
github.com
/go-gitea/gitea/security/advisories/GHSA-8pwg-hcgm-54cp
vendor-advisory, advisory
-
blog.gitea.com
/release-of-28.0.0/
release-notes, article
-
github.com
/go-gitea/gitea/releases/tag/v28.0.0
release-notes, article
-
nvd.nist.gov
/vuln/detail/CVE-2026-103059
web
Sources
- CVE List CVE-2026-103059
- NVD CVE-2026-103059
- OSV BIT-gitea-2026-103059
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.