CVE-2026-109553
JSON

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 packageVersionsReported by
gitea.devup to 28.1.0CVE List

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-109553 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-109553 changed 2026-11-02Public domain