Skip to content
Heist/ feed
Unrated

Gitea SSH certificate principal impersonation of other users

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-109553

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-109553

Gitea

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Gitea",
    "product": "Gitea",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "28.1.0"
      }
    ],
    "packageName": "gitea.dev",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-109553

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#40869 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement