# CVE-2026-109553: Gitea SSH certificate principal impersonation of other users

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-18T18:51:31.037Z
- Modified: 2026-11-02T17:17:35.133Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 28.1.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-vcp6-2qc6-gvq3> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39839> (patch)
- <https://github.com/go-gitea/gitea/pull/39847> (patch)
- <https://blog.gitea.com/release-of-28.2.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.2.0> (release-notes)

## Sources

- CVE List: [CVE-2026-109553](https://www.cve.org/CVERecord?id=CVE-2026-109553), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-109553](https://nvd.nist.gov/vuln/detail/CVE-2026-109553), Public domain, modified 2026-11-02

---

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