Bug 2555282 (CVE-2026-109553) - CVE-2026-109553 code.gitea.io/gitea: Gitea: Account impersonation via improper SSH certificate principal resolution
Summary: CVE-2026-109553 code.gitea.io/gitea: Gitea: Account impersonation via imprope...
Keywords:
Status: NEW
Alias: CVE-2026-109553
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-18 19:01 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-18 19:01:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.