CVE-2026-109553
7.5high
Gitea SSH certificate principal impersonation of other users
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | up to 28.1.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-109553 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2026-109553 changed 2026-11-02 | Public domain |