CVE-2026-109553
published high CVSS 3.1 · 7.5Gitea SSH certificate principal impersonation of other users
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 28.1.0 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
Gitea resolved the principals of an SSH certificate by searching the content of all stored public keys instead of only principal keys. When Gitea trusts a user certificate authority (`SSH_TRUSTED_USER_CA_KEYS`) and accepts arbitrary principals (`SSH_AUTHORIZED_PRINCIPALS_ALLOW=anything`), a user could register another user's public key line as their own principal, or a holder of a certificate signed by that authority could list it, and then authenticate as the owner of that key through the HTTP signature API and the built-in SSH server. Instances that do not trust a user certificate authority are not affected.
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
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 28.1.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-287 CWE-287 Improper Authentication
References
5- Gitea 28.2.0 release announcement https://blog.gitea.com/release-of-28.2.0/
- Fix: go-gitea/gitea pull request #39839 https://github.com/go-gitea/gitea/pull/39839
- Fix backport to release/v28: go-gitea/gitea pull request #39847 https://github.com/go-gitea/gitea/pull/39847
- go-gitea/gitea v28.2.0 release https://github.com/go-gitea/gitea/releases/tag/v28.2.0
- GitHub Security Advisory GHSA-vcp6-2qc6-gvq3 https://github.com/go-gitea/gitea/security/advisories/GHSA-vcp6-2qc6-gvq3
Provider assertions
2Gitea · cna
Gitea SSH certificate principal impersonation of other users
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 00637cbc5ee10f281a6b1d67c676446fec3aada11c57cdb48dd0baa8ad792fec
- Ingested
- 02 Nov 2026, 16:54:24 UTC
- Source record
- Official CVE record