Findings

CVE-2026-103059

When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL comparison of its encoded content, which is case-insensitive on som…

Published Oct 6, 2026 · updated Oct 15, 2026 · gitea gitea

When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who can construct a case variant of another user's registered RSA public key for which they can derive the private key could have that key matched to the victim's account and authenticate over SSH as that user. Keys are now looked up by fingerprint.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 6, 2026 · NIST NVD

    Detected

    When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who can construct a case variant of another user's registered RSA public key for which they can derive the private key could have that key matched to the victim's account and aut

  2. Oct 15, 2026 · NIST NVD

    Updated

    When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who can construct a case variant of another user's registered RSA public key for which they can derive the private key could have that key matched to the victim's account and aut

Affected

  • cpe gitea/giteaversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-103059

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-103059

    30-day exploitation probability 0.3%

    first.org
  • NIST NVDVulnerability recordCVE-2026-103059

    When Gitea's built-in SSH server is enabled ( ), the presented public key was looked up with an SQL comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who can construct a case va

    nvd.nist.gov

References