{"id":"CVE-2026-109553","aliases":["CVE-2026-109553"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea SSH certificate principal impersonation of other users","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-18T18:51:31.037Z","modified":"2026-11-02T17:17:35.133Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"28.1.0","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-vcp6-2qc6-gvq3","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/39839","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/39847","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://blog.gitea.com/release-of-28.2.0/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.2.0","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["https://github.com/DshtAnger","https://github.com/silverwind","https://github.com/wxiaoguang","https://github.com/bircni"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-19T20:19:01.147Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-109553","url":"https://www.cve.org/CVERecord?id=CVE-2026-109553","licence":"CVE Terms of Use","modified":"2026-11-02T16:45:21.932Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-109553","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109553","licence":"Public domain","modified":"2026-11-02T17:17:35.133Z"}],"updatedAt":"2026-11-25T22:59:45.334Z","epss":{"score":0.00213,"percentile":0.12287,"date":"2026-12-01T12:00:22.000Z"}}