CVE-2026-109553
7.5HighPublished Oct 18, 2026 · NVD status: Awaiting Analysis · AI triage by gemini-3.8-flash
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- —
What an attacker gets
Authenticated users or valid SSH certificate holders can impersonate any other user across the built-in SSH server and HTTP signature API. Attackers need a valid account or a certificate signed by the trusted CA to register another user's public key as their principal.
Root cause
Gitea resolved SSH certificate principals by matching against all stored public keys instead of restricting lookups to dedicated principal keys.
Affected versions
Gitea versions prior to 28.2.0 configured with SSH_TRUSTED_USER_CA_KEYS and SSH_AUTHORIZED_PRINCIPALS_ALLOW=anything.
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Gitea 28.2.0 or newer. As an interim workaround, unset SSH_TRUSTED_USER_CA_KEYS or change SSH_AUTHORIZED_PRINCIPALS_ALLOW away from 'anything' in app.ini.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1387027.5HighRemote attackers can crash the application by exhausting server memory. This requires the application to expose Grid aggregate operations to untrusted users.
- CVE-2026-1378567.5HighUnauthenticated attackers can crash the Zimbra mailbox service and exhaust disk space via log amplification. This requires network access to the GraphQL endpoint.
- CVE-2026-1328287.4HighAttackers can intercept or modify sensitive data like credentials and request bodies in transit. This happens when the component incorrectly downgrades HTTPS requests to cleartext HTTP if TLS parameters are missing.
- CVE-2026-1266357.5HighUnauthenticated attackers can steal backend authentication credentials by observing HTTP response headers. This occurs when the OData component leaks configured Basic or Bearer tokens back to the client.
- CVE-2026-936489.3CriticalUnauthenticated attackers can execute arbitrary JavaScript in a user's browser by sending a crafted iCalendar invitation. This allows the attacker to steal mailbox data and perform actions as the logged-in user.
- CVE-2026-936469.8CriticalUnauthenticated attackers can execute arbitrary commands as the zimbra user. They only need network access to the Zimbra server to exploit the flawed token authorization.